diff options
author | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-01-24 13:58:17 +0000 |
---|---|---|
committer | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-01-24 13:58:17 +0000 |
commit | c8d9fe16fdb7ac8d65e5aad3bd8878f77f233ba5 (patch) | |
tree | c949bda54b49340f263c9c3a16fa109df5e3f349 /compiler/jvm | |
parent | 7f5f08aa87abbfbe6cf50b87fed5456950436d33 (diff) | |
download | fpc-c8d9fe16fdb7ac8d65e5aad3bd8878f77f233ba5.tar.gz |
* Removed/ifdefed the assigned and unused variables.
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@48391 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/jvm')
-rw-r--r-- | compiler/jvm/dbgjasm.pas | 2 | ||||
-rw-r--r-- | compiler/jvm/njvmmem.pas | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/compiler/jvm/dbgjasm.pas b/compiler/jvm/dbgjasm.pas index 7186661093..fa475ec777 100644 --- a/compiler/jvm/dbgjasm.pas +++ b/compiler/jvm/dbgjasm.pas @@ -105,7 +105,6 @@ implementation afterprocstartlabel : tasmlabel; hp, afterproccodestart : tai; - instrcount : longint; begin { insert debug information for local variables and parameters, but only for routines implemented in the Pascal code } @@ -121,7 +120,6 @@ implementation { set the start label for local variables after the first instruction, because javac's code completion support assumes that all info at bytecode position 0 is for parameters } - instrcount:=0; afterproccodestart:=def.procstarttai; while assigned(afterproccodestart.next) do begin diff --git a/compiler/jvm/njvmmem.pas b/compiler/jvm/njvmmem.pas index 9c608746f6..d51d3b1d42 100644 --- a/compiler/jvm/njvmmem.pas +++ b/compiler/jvm/njvmmem.pas @@ -179,10 +179,7 @@ implementation function tjvmaddrnode.isdererence: boolean; - var - target: tnode; begin - target:=actualtargetnode(@left)^; result:= (left.nodetype=derefn); end; |