From 30592950f08c6ee521a939c9ea90fcf9b65b88b0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Feb 2022 16:26:16 +0100 Subject: vm: NULL-initialize pointer to make cppcheck happy Signed-off-by: Jo-Philipp Wich --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3