diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-02-03 16:26:16 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-02-03 16:26:44 +0100 |
commit | 30592950f08c6ee521a939c9ea90fcf9b65b88b0 (patch) | |
tree | cae905b25a206e5655aa747bf4ad6aa8c0c1d90e /vm.c | |
parent | 98e59bfb615015c8533f4270d44061216697af3c (diff) |
vm: NULL-initialize pointer to make cppcheck happy
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |