From 2920d26af579363ac9f64a9d941d1a4eff880ffe Mon Sep 17 00:00:00 2001 From: "Paul m. p. P" Date: Sun, 30 Jun 2019 11:39:24 +0200 Subject: [PATCH] py/persistentcode: Ensure prelude_offset is always initialised. --- py/persistentcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/persistentcode.c b/py/persistentcode.c index c1ca46f7e9..f55478ca0b 100644 --- a/py/persistentcode.c +++ b/py/persistentcode.c @@ -337,7 +337,7 @@ STATIC mp_raw_code_t *load_raw_code(mp_reader_t *reader, qstr_window_t *qw) { byte *ip2; bytecode_prelude_t prelude = {0}; #if MICROPY_EMIT_MACHINE_CODE - size_t prelude_offset; + size_t prelude_offset = 0; mp_uint_t type_sig = 0; size_t n_qstr_link = 0; #endif