git @ Cat's Eye Technologies Sally / 5c10bc8
Avoid compiler warnings. Cat's Eye Technologies 8 years ago
1 changed file(s) with 7 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
305305 } else
306306 if (tokeq("if"))
307307 {
308 type * a = NULL;
309308 type * b = NULL;
310 type * c = NULL; type * d = NULL;
311 scan();
312
313 a = instruction(avail);
309 type * c = NULL;
310 scan();
311
312 (void)instruction(avail);
314313 fprintf(outfile, " if(pop() != 0) {\n");
315 d = debit_type();
314 (void)debit_type();
316315
317316 b = instruction(avail);
318317 fprintf(outfile, " } else {\n");
319 d = debit_type();
318 (void)debit_type();
320319
321320 c = instruction(avail);
322321 fprintf(outfile, " }\n");
323 d = debit_type();
322 (void)debit_type();
324323
325324 if (!equivalent_types(b, c)) error("Need equivalent types in 'if'");
326325 mytype = b;