1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Remove unused variables and defines (bug 5523, r=asherkin).

This commit is contained in:
Nicholas Hastings 2012-10-26 11:19:45 -04:00
parent 76858fc2f3
commit de9e05f224
2 changed files with 1 additions and 4 deletions

View File

@ -229,7 +229,7 @@ LoadPluginsFromFile(const char *filepath, int &skipped)
}
char buffer[255], error[255], full_path[PATH_SIZE];
const char *ptr, *ext, *file;
const char *file;
size_t length;
while (!feof(fp) && fgets(buffer, sizeof(buffer), fp) != NULL)
{

View File

@ -188,15 +188,12 @@ mm_GetProcAddress(const char *name)
#if defined _WIN32
#define TIER0_NAME "bin\\tier0.dll"
#define VSTDLIB_NAME "bin\\vstdlib.dll"
#define STEAM_API_NAME "bin\\steam_api.dll"
#elif defined __APPLE__
#define TIER0_NAME "bin/libtier0.dylib"
#define VSTDLIB_NAME "bin/libvstdlib.dylib"
#define STEAM_API_NAME "bin/libsteam_api.dylib"
#elif defined __linux__
#define TIER0_NAME "bin/" LIB_PREFIX "tier0" LIB_SUFFIX
#define VSTDLIB_NAME "bin/" LIB_PREFIX "vstdlib" LIB_SUFFIX
#define STEAM_API_NAME "bin/" LIB_PREFIX "steam_api" LIB_SUFFIX
#endif
const char *