diff options
Diffstat (limited to 'contrib/libf2c/libF77/s_stop.c')
-rw-r--r-- | contrib/libf2c/libF77/s_stop.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/libf2c/libF77/s_stop.c b/contrib/libf2c/libF77/s_stop.c index 2e3f103..975edb7 100644 --- a/contrib/libf2c/libF77/s_stop.c +++ b/contrib/libf2c/libF77/s_stop.c @@ -30,8 +30,13 @@ if(n > 0) f_exit(); #endif exit(0); -#ifdef __cplusplus + +/* We cannot avoid (useless) compiler diagnostics here: */ +/* some compilers complain if there is no return statement, */ +/* and others complain that this one cannot be reached. */ + return 0; /* NOT REACHED */ } -#endif +#ifdef __cplusplus } +#endif |