suppress gcc's warnings
This commit is contained in:
parent
708af9f00f
commit
a7df867a55
|
@ -195,7 +195,7 @@ codegen(codegen_state *state, pic_value obj, bool tailpos)
|
|||
switch (pic_type(obj)) {
|
||||
case PIC_TT_SYMBOL: {
|
||||
codegen_scope *s;
|
||||
int depth, idx;
|
||||
int depth = -1, idx = -1;
|
||||
const char *name;
|
||||
|
||||
name = pic_symbol_name(pic, pic_sym(obj));
|
||||
|
@ -362,7 +362,7 @@ codegen(codegen_state *state, pic_value obj, bool tailpos)
|
|||
else if (sym == pic->sSETBANG) {
|
||||
codegen_scope *s;
|
||||
pic_value var;
|
||||
int depth, idx;
|
||||
int depth = -1, idx = -1;
|
||||
|
||||
if (pic_length(pic, obj) != 3) {
|
||||
pic_error(pic, "syntax error");
|
||||
|
|
|
@ -77,6 +77,8 @@ pic_type_repr(enum pic_tt tt)
|
|||
case PIC_TT_SYNTAX:
|
||||
return "syntax";
|
||||
}
|
||||
/* logic flaw */
|
||||
abort();
|
||||
}
|
||||
|
||||
pic_value
|
||||
|
|
Loading…
Reference in New Issue