diff options
author | midipix <writeonce@midipix.org> | 2016-01-23 20:55:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-28 03:21:03 -0500 |
commit | e33a831fd22bbde262e070ab3aed24cb32f165d4 (patch) | |
tree | a638233180b82ecf4d597483ba34f8fbd7fb12ef | |
parent | 500c8eae70745bb4b6336a4cdb13e277948fbeb9 (diff) | |
download | apimagic-e33a831fd22bbde262e070ab3aed24cb32f165d4.tar.bz2 apimagic-e33a831fd22bbde262e070ab3aed24cb32f165d4.tar.xz |
amgc_output_typedef(): default switch handler added, returns an error.
-rw-r--r-- | src/output/amgc_output_typedef.c | 3 |
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) |