Fixed warnings that only appeared when compiling amd64 binaries
This commit is contained in:
@ -22,9 +22,9 @@
|
||||
*/
|
||||
|
||||
#define AMX_NODYNALOAD
|
||||
#define AMX_ANSIONLY
|
||||
#define AMX_ANSIONLY
|
||||
|
||||
#if BUILD_PLATFORM == WINDOWS && BUILD_TYPE == RELEASE && BUILD_COMPILER == MSVC && PAWN_CELL_SIZE == 64
|
||||
#if !defined __linux__ && BUILD_PLATFORM == WINDOWS && BUILD_TYPE == RELEASE && BUILD_COMPILER == MSVC && PAWN_CELL_SIZE == 64
|
||||
/* bad bad workaround but we have to prevent a compiler crash :/ */
|
||||
#pragma optimize("g",off)
|
||||
#endif
|
||||
|
@ -584,9 +584,7 @@ int set_amxnatives(AMX* amx, char error[128])
|
||||
}
|
||||
|
||||
int unload_amxscript(AMX* amx, void** program)
|
||||
{
|
||||
int flags = amx->flags;
|
||||
|
||||
{
|
||||
Debugger *pDebugger = (Debugger *)amx->userdata[UD_DEBUGGER];
|
||||
if (pDebugger)
|
||||
delete pDebugger;
|
||||
|
Reference in New Issue
Block a user