From: Florian Liekweg Date: Thu, 17 Feb 2005 08:45:38 +0000 (+0000) Subject: Don't return a value for an invalid descriptor X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c005a85d3799cdd3911b2eee826fad2a6a804bbf;p=libfirm Don't return a value for an invalid descriptor [r5175] --- diff --git a/ir/ana2/pto_name.c b/ir/ana2/pto_name.c index 1c59bb7e4..b7e2c1f5e 100644 --- a/ir/ana2/pto_name.c +++ b/ir/ana2/pto_name.c @@ -463,8 +463,8 @@ qset_t *get_entry (desc_t *desc, entity *ent) return (arr_desc->value); } else { assert (0 && "invalid descriptor"); + return NULL; } - return NULL; } @@ -654,6 +654,9 @@ void pto_name_cleanup (void) /* $Log$ + Revision 1.14 2005/02/17 08:45:38 liekweg + Don't return a value for an invalid descriptor + Revision 1.13 2005/02/11 10:21:28 beck get_entry now always returns a value