From-SVN: r49408
This commit is contained in:
Jason Merrill 2002-02-01 14:51:42 -05:00
parent efe49da0ba
commit f2f6a4b077

View file

@ -14256,7 +14256,7 @@ finish_function (flags)
&& !current_function_returns_abnormally
/* If we have -Wreturn-type, let flow complain. Unless we're an
inline function, as we might never be compiled separately. */
&& (!warn_return_type || DECL_INLINE (fndecl))
&& (!warn_return_type || DECL_INLINE (fndecl)))
warning ("no return statement in function returning non-void");
/* Clear out memory we no longer need. */