summaryrefslogtreecommitdiff
path: root/src/qcommon/vm.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-02-14 01:42:59 +0100
committer/dev/humancontroller <devhc@example.com>2017-02-07 17:33:40 +0100
commitda349d8dc9bc80d2a14b39ae63b6735f5b45d2e0 (patch)
tree5d95e1604573281d77e8d71c990cedb71c4e7922 /src/qcommon/vm.c
parent2740505c7d428d2114a931ba72bd172489884c01 (diff)
fix compilation with MSVC
TODO: uhm, _snprintf()... WRONG ?
Diffstat (limited to 'src/qcommon/vm.c')
-rw-r--r--src/qcommon/vm.c2
1 files changed, 1 insertions, 1 deletions
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;