This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Tue, 17 Apr 2012 23:26:26 -0700 (PDT)
- Subject: [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;