This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[incremental] Patch: FYI: remove a warning
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Feb 2008 14:44:09 -0700
- Subject: [incremental] Patch: FYI: remove a warning
- Reply-to: Tom Tromey <tromey at redhat dot com>
I'm checking this in on the incremental-compiler branch.
This fixes a dumb warning. Not sure why I never noticed this before.
Tom
ChangeLog:
2008-02-29 Tom Tromey <tromey@redhat.com>
* cgraphunit.c (cgraph_unit_reset): Use NULL, not NULL_TREE.
Index: cgraphunit.c
===================================================================
--- cgraphunit.c (revision 132688)
+++ cgraphunit.c (working copy)
@@ -175,8 +175,8 @@
void
cgraph_unit_reset (void)
{
- static_ctors = NULL_TREE;
- static_dtors = NULL_TREE;
+ static_ctors = NULL;
+ static_dtors = NULL;
first_analyzed = NULL;
first_analyzed_var = NULL;
counter = 0;