From b968927074b195afcb9d112905aaf665a87f563e Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 12 Aug 2012 11:28:18 +0200 Subject: [PATCH] default case for ir_value_dump's type switch --- ir.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2