Skip to content

Commit e2880aa

Browse files
committed
Fix a few compiler warnings.
1 parent ba66a8f commit e2880aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

py/compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ void compile_try_except(compiler_t *comp, py_parse_node_t pn_body, int n_except,
16101610

16111611
EMIT(pop_top);
16121612

1613-
int l3;
1613+
int l3 = 0;
16141614
if (qstr_exception_local != 0) {
16151615
l3 = comp_next_label(comp);
16161616
EMIT(setup_finally, l3);

stm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ $(BUILD)/%.o: $(CC3KSRC)/%.c
148148
$(CC) $(CFLAGS) -c -o $@ $<
149149

150150
$(BUILD)/%.o: $(PYSRC)/%.s
151-
$(AS) -c -o $@ $<
151+
$(AS) -o $@ $<
152152

153153
$(BUILD)/%.o: $(PYSRC)/%.c mpyconfig.h
154154
$(CC) $(CFLAGS) -c -o $@ $<

unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $(BUILD)/%.o: %.c
5050
$(CC) $(CFLAGS) -c -o $@ $<
5151

5252
$(BUILD)/%.o: $(PYSRC)/%.s
53-
$(AS) -c -o $@ $<
53+
$(AS) -o $@ $<
5454

5555
$(BUILD)/%.o: $(PYSRC)/%.c mpyconfig.h
5656
$(CC) $(CFLAGS) -c -o $@ $<

0 commit comments

Comments
 (0)