From da349d8dc9bc80d2a14b39ae63b6735f5b45d2e0 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 14 Feb 2015 01:42:59 +0100 Subject: fix compilation with MSVC TODO: uhm, _snprintf()... WRONG ? --- src/qcommon/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon/vm.c') diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c index d6d589d2..18be5331 100644 --- a/src/qcommon/vm.c +++ b/src/qcommon/vm.c @@ -575,7 +575,7 @@ it will attempt to load as a system dll vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *), vmInterpret_t interpret ) { vm_t *vm; - vmHeader_t *header; + vmHeader_t *header = NULL; int i, remaining, retval; char filename[MAX_OSPATH]; void *startSearch = NULL; -- cgit