This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

[commit] dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.


Hi.

Another minor cleanup.

2012-04-17  Doug Evans  <dje@google.com>

	* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.

Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.634
diff -u -p -r1.634 dwarf2read.c
--- dwarf2read.c	18 Apr 2012 06:21:09 -0000	1.634
+++ dwarf2read.c	18 Apr 2012 06:23:29 -0000
@@ -3362,7 +3362,7 @@ lookup_signatured_type (ULONGEST sig)
     {
       complaint (&symfile_complaints,
 		 _("missing `.debug_types' section for DW_FORM_ref_sig8 die"));
-      return 0;
+      return NULL;
     }
 
   find_entry.signature = sig;


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