From aa10ccd6feb021eee2bc274ca1cbc938aeae6428 Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 19 Oct 2001 11:05:12 +0000 Subject: [PATCH] no need to do that git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1418 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCsymt.c | 8 -------- 1 file changed, 8 deletions(-) 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) -- 2.47.2