From: johanknol Date: Fri, 19 Oct 2001 11:05:12 +0000 (+0000) Subject: no need to do that X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=aa10ccd6feb021eee2bc274ca1cbc938aeae6428;p=fw%2Fsdcc no need to do that git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1418 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 534b0cd1..25a6351b 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1553,8 +1553,6 @@ inCalleeSaveList (char *s) value * aggregateToPointer (value * val) { - int wasArray=IS_ARRAY(val->type); - if (IS_AGGREGATE (val->type)) { /* if this is a structure */ @@ -1608,12 +1606,6 @@ aggregateToPointer (value * val) DCL_TYPE (val->type) = GPOINTER; } - if (wasArray) { - /* there is NO way to specify the storage of the pointer - associated with an array, so we make it the default */ - SPEC_SCLS(val->etype) = S_FIXED; - } - /* is there is a symbol associated then */ /* change the type of the symbol as well */ if (val->sym)