user32: Fix a compiler warning on mingw.

This commit is contained in:
Austin English 2010-07-01 10:20:33 -05:00 committed by Alexandre Julliard
parent f2b874ffae
commit 71fb0068af
1 changed files with 1 additions and 5 deletions

View File

@ -941,11 +941,7 @@ void SYSPARAMS_Init(void)
}
/* last chance, take the default */
if (!bOk)
{
int iNumColors = sscanf( DefSysColors[i*2+1], " %d %d %d", &r, &g, &b );
assert (iNumColors==3);
}
if (!bOk) sscanf( DefSysColors[i*2+1], " %d %d %d", &r, &g, &b );
SYSPARAMS_SetSysColor( i, RGB(r,g,b) );
}