mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Remove an unnecessary variable.
This commit is contained in:
parent
c96cf4f1dd
commit
8c0d65616c
@ -266,8 +266,7 @@ function StringType(prefix: charStrPrefixEnum): typePtr;
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
var
|
var
|
||||||
staticNum, {static variable number}
|
staticNum: packed array[1..6] of char; {static variable number}
|
||||||
firstStaticNum: packed array[1..6] of char; {staticNum at start of function}
|
|
||||||
|
|
||||||
{- Imported from expression.pas --------------------------------}
|
{- Imported from expression.pas --------------------------------}
|
||||||
|
|
||||||
@ -2027,8 +2026,6 @@ repeat
|
|||||||
done := i = 1;
|
done := i = 1;
|
||||||
end; {if}
|
end; {if}
|
||||||
until done;
|
until done;
|
||||||
if table = globalTable then {update fistStaticNum}
|
|
||||||
firstStaticNum := staticNum;
|
|
||||||
new(tPtr); {create a new symbol table}
|
new(tPtr); {create a new symbol table}
|
||||||
ClearTable(tPtr^);
|
ClearTable(tPtr^);
|
||||||
tPtr^.next := table;
|
tPtr^.next := table;
|
||||||
|
Loading…
Reference in New Issue
Block a user