diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 45b1497..a420d29 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-02-14 Andrew Pinski <pinskia@physics.uc.edu> + + * decl.c: (define_label): Fix warning for return 0 instead of NULL. + 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net> * decl.c: Include "timevar.h". diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 9cb4736..dadb521 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -5003,7 +5003,7 @@ define_label (const char* filename, int line, tree name) if (DECL_INITIAL (decl) != NULL_TREE) { error ("duplicate label `%D'", decl); - POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, 0); + POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, NULL); } else { |