Remove unused variables and defines (bug 5523, r=asherkin).
Remove unused variables and defines (
bug 5523, r=asherkin).
1.1 --- a/core/metamod.cpp Fri Oct 26 11:19:02 2012 -0400
1.2 +++ b/core/metamod.cpp Fri Oct 26 11:19:45 2012 -0400
1.3 @@ -229,7 +229,7 @@
1.4 }
1.5
1.6 char buffer[255], error[255], full_path[PATH_SIZE];
1.7 - const char *ptr, *ext, *file;
1.8 + const char *file;
1.9 size_t length;
1.10 while (!feof(fp) && fgets(buffer, sizeof(buffer), fp) != NULL)
1.11 {
2.1 --- a/loader/loader.cpp Fri Oct 26 11:19:02 2012 -0400
2.2 +++ b/loader/loader.cpp Fri Oct 26 11:19:45 2012 -0400
2.3 @@ -188,15 +188,12 @@
2.4 #if defined _WIN32
2.5 #define TIER0_NAME "bin\\tier0.dll"
2.6 #define VSTDLIB_NAME "bin\\vstdlib.dll"
2.7 -#define STEAM_API_NAME "bin\\steam_api.dll"
2.8 #elif defined __APPLE__
2.9 #define TIER0_NAME "bin/libtier0.dylib"
2.10 #define VSTDLIB_NAME "bin/libvstdlib.dylib"
2.11 -#define STEAM_API_NAME "bin/libsteam_api.dylib"
2.12 #elif defined __linux__
2.13 #define TIER0_NAME "bin/" LIB_PREFIX "tier0" LIB_SUFFIX
2.14 #define VSTDLIB_NAME "bin/" LIB_PREFIX "vstdlib" LIB_SUFFIX
2.15 -#define STEAM_API_NAME "bin/" LIB_PREFIX "steam_api" LIB_SUFFIX
2.16 #endif
2.17
2.18 const char *