X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic16%2Fglue.c;h=53c630499ca451271e97586158443cc1d4df88e2;hb=f9df521627c0f3694c7a9aa21d9ad7026b3d1922;hp=c2085e8bcec8f410b957ffdb79f8a4e55d729d17;hpb=4464999cca73961d7fd19c9d60ff1305f6ae399e;p=fw%2Fsdcc diff --git a/src/pic16/glue.c b/src/pic16/glue.c index c2085e8b..53c63049 100644 --- a/src/pic16/glue.c +++ b/src/pic16/glue.c @@ -428,7 +428,7 @@ value *pic16_initPointer (initList * ilist, sym_link *toType) if (IS_AST_OP (expr) && expr->opval.op == '&') { /* address of symbol */ if (IS_AST_SYM_VALUE (expr->left)) { - val = copyValue (AST_VALUE (expr->left)); + val = AST_VALUE (expr->left); val->type = newLink (DECLARATOR); if(SPEC_SCLS (expr->left->etype) == S_CODE) { DCL_TYPE (val->type) = CPOINTER;