summaryrefslogtreecommitdiffhomepage
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f6886ba..6e3713a 100644
--- a/vm.c
+++ b/vm.c
@@ -1562,7 +1562,7 @@ uc_vm_value_arith(uc_vm_t *vm, uc_vm_insn_t operation, uc_value_t *value, uc_val
static void
uc_vm_insn_update_var(uc_vm_t *vm, uc_vm_insn_t insn)
{
- uc_value_t *name, *val, *inc = uc_vm_stack_pop(vm);
+ uc_value_t *name, *val = NULL, *inc = uc_vm_stack_pop(vm);
uc_value_t *scope, *next;
bool found;