From: Wolfgang (Blub) Bumiller Date: Sun, 12 Aug 2012 09:28:18 +0000 (+0200) Subject: default case for ir_value_dump's type switch X-Git-Tag: 0.1-rc1~348^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b968927074b195afcb9d112905aaf665a87f563e;p=xonotic%2Fgmqcc.git default case for ir_value_dump's type switch --- diff --git a/ir.c b/ir.c index 3efd973..3ead45e 100644 --- a/ir.c +++ b/ir.c @@ -2851,6 +2851,7 @@ void ir_value_dump(ir_value* v, int (*oprintf)(const char*, ...)) { if (v->isconst) { switch (v->vtype) { + default: case TYPE_VOID: oprintf("(void)"); break;