We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a949d commit 0537654Copy full SHA for 0537654
1 file changed
py/modstruct.c
@@ -85,7 +85,7 @@ STATIC mp_obj_t struct_calcsize(mp_obj_t fmt_in) {
85
char fmt_type = get_fmt_type(&fmt);
86
machine_uint_t size;
87
for (size = 0; *fmt; fmt++) {
88
- uint align;
+ uint align = 1;
89
machine_uint_t cnt = 1;
90
if (unichar_isdigit(*fmt)) {
91
cnt = get_fmt_num(&fmt);
0 commit comments