engine: platform: sdl: unused variable cleanup

This commit is contained in:
Alibek Omarov 2023-12-05 10:48:47 +03:00
parent 0c2d480d89
commit 9ec1e259b4
1 changed files with 1 additions and 1 deletions

View File

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