mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00:00
Remove unused variables and defines (bug 5523, r=asherkin).
This commit is contained in:
parent
76858fc2f3
commit
de9e05f224
@ -229,7 +229,7 @@ LoadPluginsFromFile(const char *filepath, int &skipped)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char buffer[255], error[255], full_path[PATH_SIZE];
|
char buffer[255], error[255], full_path[PATH_SIZE];
|
||||||
const char *ptr, *ext, *file;
|
const char *file;
|
||||||
size_t length;
|
size_t length;
|
||||||
while (!feof(fp) && fgets(buffer, sizeof(buffer), fp) != NULL)
|
while (!feof(fp) && fgets(buffer, sizeof(buffer), fp) != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -188,15 +188,12 @@ mm_GetProcAddress(const char *name)
|
|||||||
#if defined _WIN32
|
#if defined _WIN32
|
||||||
#define TIER0_NAME "bin\\tier0.dll"
|
#define TIER0_NAME "bin\\tier0.dll"
|
||||||
#define VSTDLIB_NAME "bin\\vstdlib.dll"
|
#define VSTDLIB_NAME "bin\\vstdlib.dll"
|
||||||
#define STEAM_API_NAME "bin\\steam_api.dll"
|
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
#define TIER0_NAME "bin/libtier0.dylib"
|
#define TIER0_NAME "bin/libtier0.dylib"
|
||||||
#define VSTDLIB_NAME "bin/libvstdlib.dylib"
|
#define VSTDLIB_NAME "bin/libvstdlib.dylib"
|
||||||
#define STEAM_API_NAME "bin/libsteam_api.dylib"
|
|
||||||
#elif defined __linux__
|
#elif defined __linux__
|
||||||
#define TIER0_NAME "bin/" LIB_PREFIX "tier0" LIB_SUFFIX
|
#define TIER0_NAME "bin/" LIB_PREFIX "tier0" LIB_SUFFIX
|
||||||
#define VSTDLIB_NAME "bin/" LIB_PREFIX "vstdlib" LIB_SUFFIX
|
#define VSTDLIB_NAME "bin/" LIB_PREFIX "vstdlib" LIB_SUFFIX
|
||||||
#define STEAM_API_NAME "bin/" LIB_PREFIX "steam_api" LIB_SUFFIX
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user