Skip to content

Commit 665ca84

Browse files
committed
fix: removed some unsed variables
1 parent 1ca456d commit 665ca84

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Singular/grammar.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3943,7 +3943,6 @@ YYSTYPE yylval;
39433943
/* Line 1464 of yacc.c */
39443944
#line 1532 "grammar.y"
39453945
{
3946-
procinfov pi;
39473946
idhdl h = enterid((yyvsp[(2) - (3)].name),myynest,PROC_CMD,&IDROOT,TRUE);
39483947
if (h==NULL) {omFree((ADDRESS)(yyvsp[(2) - (3)].name));omFree((ADDRESS)(yyvsp[(3) - (3)].name)); YYERROR;}
39493948
iiInitSingularProcinfo(IDPROC(h),"", (yyvsp[(2) - (3)].name), 0, 0);
@@ -3969,7 +3968,6 @@ YYSTYPE yylval;
39693968
}
39703969
char *args=iiProcArgs((yyvsp[(2) - (3)].name),FALSE);
39713970
omFree((ADDRESS)(yyvsp[(2) - (3)].name));
3972-
procinfov pi;
39733971
iiInitSingularProcinfo(IDPROC(h),"", (yyvsp[(1) - (3)].name), 0, 0);
39743972
IDPROC(h)->data.s.body = (char *)omAlloc(strlen((yyvsp[(3) - (3)].name))+strlen(args)+14);;
39753973
sprintf(IDPROC(h)->data.s.body,"%s\n%s;return();\n\n",args,(yyvsp[(3) - (3)].name));
@@ -3995,7 +3993,6 @@ YYSTYPE yylval;
39953993
}
39963994
char *args=iiProcArgs((yyvsp[(2) - (4)].name),FALSE);
39973995
omFree((ADDRESS)(yyvsp[(2) - (4)].name));
3998-
procinfov pi;
39993996
iiInitSingularProcinfo(IDPROC(h),"", (yyvsp[(1) - (4)].name), 0, 0);
40003997
omFree((ADDRESS)(yyvsp[(1) - (4)].name));
40013998
IDPROC(h)->data.s.body = (char *)omAlloc(strlen((yyvsp[(4) - (4)].name))+strlen(args)+14);;

Singular/grammar.y

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,6 @@ forcmd:
15311531
proccmd:
15321532
PROC_CMD extendedid BLOCKTOK
15331533
{
1534-
procinfov pi;
15351534
idhdl h = enterid($2,myynest,PROC_CMD,&IDROOT,TRUE);
15361535
if (h==NULL) {omFree((ADDRESS)$2);omFree((ADDRESS)$3); YYERROR;}
15371536
iiInitSingularProcinfo(IDPROC(h),"", $2, 0, 0);
@@ -1552,7 +1551,6 @@ proccmd:
15521551
}
15531552
char *args=iiProcArgs($2,FALSE);
15541553
omFree((ADDRESS)$2);
1555-
procinfov pi;
15561554
iiInitSingularProcinfo(IDPROC(h),"", $1, 0, 0);
15571555
IDPROC(h)->data.s.body = (char *)omAlloc(strlen($3)+strlen(args)+14);;
15581556
sprintf(IDPROC(h)->data.s.body,"%s\n%s;return();\n\n",args,$3);
@@ -1573,7 +1571,6 @@ proccmd:
15731571
}
15741572
char *args=iiProcArgs($2,FALSE);
15751573
omFree((ADDRESS)$2);
1576-
procinfov pi;
15771574
iiInitSingularProcinfo(IDPROC(h),"", $1, 0, 0);
15781575
omFree((ADDRESS)$1);
15791576
IDPROC(h)->data.s.body = (char *)omAlloc(strlen($4)+strlen(args)+14);;

0 commit comments

Comments
 (0)