summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-23 20:55:56 -0500
committermidipix <writeonce@midipix.org>2016-01-28 03:21:03 -0500
commite33a831fd22bbde262e070ab3aed24cb32f165d4 (patch)
treea638233180b82ecf4d597483ba34f8fbd7fb12ef /src
parent500c8eae70745bb4b6336a4cdb13e277948fbeb9 (diff)
downloadapimagic-e33a831fd22bbde262e070ab3aed24cb32f165d4.tar.bz2
apimagic-e33a831fd22bbde262e070ab3aed24cb32f165d4.tar.xz
amgc_output_typedef(): default switch handler added, returns an error.
Diffstat (limited to 'src')
-rw-r--r--src/output/amgc_output_typedef.c3
1 files changed, 3 insertions, 0 deletions
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)