From db3e71bfcc2034c1ce6cf7f38d2879f35bfefdb9 Mon Sep 17 00:00:00 2001 From: exstrim401 Date: Mon, 7 Jun 2021 17:51:42 +0500 Subject: [PATCH] engine: Removed unused Haiku variables --- engine/common/filesystem.c | 3 --- engine/platform/posix/lib_posix.c | 3 --- game_launch/game.cpp | 1 - 3 files changed, 7 deletions(-) diff --git a/engine/common/filesystem.c b/engine/common/filesystem.c index 1f008948..5b3495b7 100644 --- a/engine/common/filesystem.c +++ b/engine/common/filesystem.c @@ -1390,9 +1390,6 @@ void FS_Rescan( void ) { const char *str; const int extrasFlags = FS_NOWRITE_PATH | FS_CUSTOM_PATH; -#if XASH_HAIKU - char *dir; -#endif Con_Reportf( "FS_Rescan( %s )\n", GI->title ); FS_ClearSearchPath(); diff --git a/engine/platform/posix/lib_posix.c b/engine/platform/posix/lib_posix.c index 7373a706..de1d8f8a 100644 --- a/engine/platform/posix/lib_posix.c +++ b/engine/platform/posix/lib_posix.c @@ -79,9 +79,6 @@ void *COM_LoadLibrary( const char *dllname, int build_ordinals_table, qboolean d { dll_user_t *hInst = NULL; void *pHandle = NULL; -#if XASH_HAIKU - const char *libdir; -#endif COM_ResetLibraryError(); diff --git a/game_launch/game.cpp b/game_launch/game.cpp index cb6af359..983b6a34 100644 --- a/game_launch/game.cpp +++ b/game_launch/game.cpp @@ -31,7 +31,6 @@ GNU General Public License for more details. #include // CommandLineToArgvW #endif - #ifdef WIN32 extern "C" {