Commit 62ed060f by Andrew Pinski Committed by Gabriel Dos Reis

decl.c: (define_label): Fix warning for return 0 instead of NULL.

2003-02-14   Andrew Pinski <pinskia@physics.uc.edu>

        * decl.c: (define_label): Fix warning for return 0 instead of NULL.

From-SVN: r62828
parent 63640075
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".
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment