dwarves: __tag__has_type_loop has to handle a NULL type (void)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
3049d6962f
commit
b4977b20e0
|
@ -50,6 +50,9 @@ int __tag__has_type_loop(const struct tag *self, const struct tag *type,
|
|||
{
|
||||
char bbf[2048], *abf = bbf;
|
||||
|
||||
if (type == NULL)
|
||||
return 0;
|
||||
|
||||
if (self->type == type->type) {
|
||||
int printed;
|
||||
|
||||
|
|
Loading…
Reference in New Issue