From e33a831fd22bbde262e070ab3aed24cb32f165d4 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 23 Jan 2016 20:55:56 -0500 Subject: amgc_output_typedef(): default switch handler added, returns an error. --- src/output/amgc_output_typedef.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/amgc_output_typedef.c b/src/output/amgc_output_typedef.c index 2400916..9af4329 100644 --- a/src/output/amgc_output_typedef.c +++ b/src/output/amgc_output_typedef.c @@ -51,6 +51,9 @@ int amgc_output_typedef( case TYPE_ATOMIC: ret = output_atomic_typedef(aentity,fout); break; + + default: + ret = -1; } if (ret) -- cgit v1.2.3