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

This commit is contained in:
Doug Evans 2012-04-18 06:24:48 +00:00
parent 380bca9753
commit dcc0705263
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2012-04-17 Doug Evans <dje@google.com>
* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
* dwarf2read.c: Whitespace fixes.
(lookup_signatured_type): Tweak comment.
(get_die_type_at_offset): Fix comment.

View File

@ -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;