diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-04-26 11:57:29 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-04-26 11:57:56 +0200 |
commit | 7b287279d933e69168b99a643ecb91631fd4f992 (patch) | |
tree | 3f9b6a42bba881dd88ee067ae19b00ad463af833 /main.c | |
parent | 4cf897c200e72ba5d8823af3fcd515ac92651b99 (diff) |
main: fix ineffective EOF check in parse()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,8 +99,8 @@ parse(uc_parse_config *config, uc_source *src, uc_value_t *globals = NULL; uc_function_t *entry; uc_vm vm = {}; - char c, c2, *err; - int rc = 0; + int c, c2, rc = 0; + char *err; uc_vm_init(&vm, config); |