[MPlayer-cvslog] r36859 - trunk/vidix/pm3_regs.h
reimar
subversion at mplayerhq.hu
Sun Feb 16 17:29:57 CET 2014
Author: reimar
Date: Sun Feb 16 17:29:57 2014
New Revision: 36859
Log:
Remove pointless assignment and variable.
A volatile read will/should not be optimized away regardless
of whether the result is assigned to a dummy variable or not.
Modified:
trunk/vidix/pm3_regs.h
Modified: trunk/vidix/pm3_regs.h
==============================================================================
--- trunk/vidix/pm3_regs.h Sun Feb 16 16:44:36 2014 (r36858)
+++ trunk/vidix/pm3_regs.h Sun Feb 16 17:29:57 2014 (r36859)
@@ -1079,8 +1079,7 @@ extern void *pm3_reg_base;
#define RAMDAC_DELAY(x) do { \
int delay = x; \
- unsigned char tmp; \
- while(delay--){tmp = READ_REG(PM3InFIFOSpace);}; \
+ while(delay--){READ_REG(PM3InFIFOSpace);}; \
} while(0)
#define SLOW_WRITE_REG(v,r) \
More information about the MPlayer-cvslog
mailing list