msrle32: Don't bother using the register storage class specifier.
Michael Stefaniuc
mstefani at redhat.de
Mon Oct 8 06:26:08 CDT 2012
---
dlls/msrle32/msrle32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c
index e157027..acd3866 100644
--- a/dlls/msrle32/msrle32.c
+++ b/dlls/msrle32/msrle32.c
@@ -42,7 +42,7 @@ static HINSTANCE MSRLE32_hModule = 0;
#define QUALITY_to_DIST(q) (ICQUALITY_HIGH - q)
static inline WORD ColorCmp(WORD clr1, WORD clr2)
{
- register UINT a = (clr1-clr2);
+ UINT a = clr1 - clr2;
return SQR(a);
}
static inline WORD Intensity(RGBQUAD clr)
@@ -1535,7 +1535,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
{ /* swap buffer for current and previous frame */
/* Don't free and alloc new -- costs to much time and they are of equal size ! */
- register LPWORD pTmp = pi->pPrevFrame;
+ LPWORD pTmp = pi->pPrevFrame;
pi->pPrevFrame = pi->pCurFrame;
pi->pCurFrame = pTmp;
--
1.7.7.6
More information about the wine-patches
mailing list