projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe49da
)
fix typo
author
Jason Merrill
<jason@gcc.gnu.org>
Fri, 1 Feb 2002 19:51:42 +0000
(14:51 -0500)
committer
Jason Merrill
<jason@gcc.gnu.org>
Fri, 1 Feb 2002 19:51:42 +0000
(14:51 -0500)
From-SVN: r49408
gcc/cp/decl.c
patch
|
blob
|
history
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index
097b562
..
41a6889
100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-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. */