engine: platform: sdl: unused variable cleanup
This commit is contained in:
parent
0c2d480d89
commit
9ec1e259b4
1 changed files with 1 additions and 1 deletions
|
@ -654,9 +654,9 @@ static void VID_SetWindowIcon( SDL_Window *hWnd )
|
|||
{
|
||||
rgbdata_t *icon = NULL;
|
||||
char iconpath[MAX_STRING];
|
||||
#if XASH_WIN32 // ICO support only for Win32
|
||||
const char *localIcoPath;
|
||||
|
||||
#if XASH_WIN32 // ICO support only for Win32
|
||||
if(( localIcoPath = FS_GetDiskPath( GI->iconpath, true )))
|
||||
{
|
||||
HICON ico = (HICON)LoadImage( NULL, localIcoPath, IMAGE_ICON, 0, 0, LR_LOADFROMFILE|LR_DEFAULTSIZE );
|
||||
|
|
Loading…
Add table
Reference in a new issue