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

This commit is contained in:
Michael Stefaniuc 2012-10-08 13:26:08 +02:00 committed by Alexandre Julliard
parent 07d602c4f1
commit c046d30fb7

View file

@ -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;