This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[incremental] Patch: FYI: remove a warning


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]