Michael Stefaniuc : msrle32: Don' t bother using the register storage class specifier.

Alexandre Julliard julliard at winehq.org
Mon Oct 8 13:39:57 CDT 2012


Module: wine
Branch: master
Commit: c046d30fb70b4cdd53d7ecb5e19d4ddc3fe2afc9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c046d30fb70b4cdd53d7ecb5e19d4ddc3fe2afc9

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Oct  8 13:26:08 2012 +0200

msrle32: Don't bother using the register storage class specifier.

---

 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;




More information about the wine-cvs mailing list