Browse Source

py/persistentcode: Ensure prelude_offset is always initialised.

pull/4891/head
Paul m. p. P 5 years ago
committed by Damien George
parent
commit
2920d26af5
  1. 2
      py/persistentcode.c

2
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

Loading…
Cancel
Save