From 6db9aef0328beee539ee51e75e852e271a78c69c Mon Sep 17 00:00:00 2001 From: burley Date: Mon, 10 May 1999 14:40:59 +0000 Subject: Update to Netlib version of 1999-05-10 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26864 138bc75d-0d04-0410-961f-82ee72b054a4 --- libf2c/libF77/s_stop.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libf2c/libF77/s_stop.c') diff --git a/libf2c/libF77/s_stop.c b/libf2c/libF77/s_stop.c index 2e3f1035b30..975edb7d4ad 100644 --- a/libf2c/libF77/s_stop.c +++ b/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 -- cgit v1.2.3