From 9ec1e259b44adce95a03989277623bf56fd65088 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 5 Dec 2023 10:48:47 +0300 Subject: [PATCH] engine: platform: sdl: unused variable cleanup --- engine/platform/sdl/vid_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/platform/sdl/vid_sdl.c b/engine/platform/sdl/vid_sdl.c index 6d1204ff..0a58353a 100644 --- a/engine/platform/sdl/vid_sdl.c +++ b/engine/platform/sdl/vid_sdl.c @@ -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 );