diff options
author | Emil Renner Berthing <esmil@mailme.dk> | 2020-10-03 11:23:12 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@mailme.dk> | 2020-10-22 11:47:36 +0200 |
commit | 9aa58cf8bac353297ff5e7b4f3331e5618046095 (patch) | |
tree | 0f36014f1e370a0797bc23da1c9c9ae4c5f77f1a /extmod/re1.5/compilecode.c | |
parent | fdd6fa389ed68a5d0761f7cb71c94db5e927d741 (diff) |
py, extmod: Add explicit initializers for default values.
When compiling with -Wextra which includes -Wmissing-field-initializers
GCC will warn that the defval field of mp_arg_val_t is not initialized.
This is just a warning as it is defined to be zero initialized, but since
it is a union it makes sense to be explicit about which member we're
going to use, so add the explicit initializers and get rid of the
warning.
Diffstat (limited to 'extmod/re1.5/compilecode.c')
0 files changed, 0 insertions, 0 deletions