From 9e99831fb2dc345f6f84d0ecb32e90d6121573f7 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sat, 29 May 2004 12:20:57 +0000 Subject: [PATCH] added a declaration of a local variable. The file will compile now :] --- amxmodx/modules.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp index 0684b861..f12ea240 100755 --- a/amxmodx/modules.cpp +++ b/amxmodx/modules.cpp @@ -92,6 +92,8 @@ int load_amxscript(AMX *amx, void **program, const char *filename, char error[64 int err; FILE *fp; + AMX_HEADER hdr; + memset(amx, 0, sizeof(*amx)); *program = 0; *error = 0;