Changeset 1222 for trunk/src/kash/error.c
- Timestamp:
- Oct 8, 2007, 2:24:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/error.c
r1221 r1222 71 71 72 72 static void exverror(shinstance *psh, int, const char *, va_list) 73 /*__attribute__((__noreturn__))*/;73 __attribute__((__noreturn__)); 74 74 75 75 /* … … 83 83 { 84 84 if (psh->handler == NULL) 85 abort();85 sh_abort(psh); 86 86 psh->exception = e; 87 87 longjmp(psh->handler->loc, 1); … … 180 180 exverror(psh, EXERROR, msg, ap); 181 181 /* NOTREACHED */ 182 #ifndef __GNUC__ 183 va_end(ap); 184 #endif 182 va_end(ap); 185 183 } 186 184 … … 194 192 exverror(psh, cond, msg, ap); 195 193 /* NOTREACHED */ 196 #ifndef __GNUC__ 197 va_end(ap); 198 #endif 194 va_end(ap); 199 195 } 200 196
Note:
See TracChangeset
for help on using the changeset viewer.