Commit e9da5fe2 authored by Shenghou Ma's avatar Shenghou Ma

cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok.

LGTM=bradfitz
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/107160046
parent 61dca94e
...@@ -144,7 +144,6 @@ EXTERN Prog* lastp; ...@@ -144,7 +144,6 @@ EXTERN Prog* lastp;
EXTERN int32 maxargsafe; EXTERN int32 maxargsafe;
EXTERN int mnstring; EXTERN int mnstring;
EXTERN Multab multab[20]; EXTERN Multab multab[20];
EXTERN int retok;
extern int hintabsize; extern int hintabsize;
EXTERN Node* nodrat; EXTERN Node* nodrat;
EXTERN Node* nodret; EXTERN Node* nodret;
......
...@@ -143,7 +143,6 @@ EXTERN int32 cursafe; ...@@ -143,7 +143,6 @@ EXTERN int32 cursafe;
EXTERN Prog* lastp; EXTERN Prog* lastp;
EXTERN int32 maxargsafe; EXTERN int32 maxargsafe;
EXTERN int mnstring; EXTERN int mnstring;
EXTERN int retok;
EXTERN Node* nodrat; EXTERN Node* nodrat;
EXTERN Node* nodret; EXTERN Node* nodret;
EXTERN Node* nodsafe; EXTERN Node* nodsafe;
......
...@@ -143,7 +143,6 @@ EXTERN int32 cursafe; ...@@ -143,7 +143,6 @@ EXTERN int32 cursafe;
EXTERN Prog* lastp; EXTERN Prog* lastp;
EXTERN int32 maxargsafe; EXTERN int32 maxargsafe;
EXTERN int mnstring; EXTERN int mnstring;
EXTERN int retok;
EXTERN Node* nodrat; EXTERN Node* nodrat;
EXTERN Node* nodret; EXTERN Node* nodret;
EXTERN Node* nodsafe; EXTERN Node* nodsafe;
......
...@@ -155,8 +155,6 @@ codgen(Node *n, Node *nn) ...@@ -155,8 +155,6 @@ codgen(Node *n, Node *nn)
} }
} }
retok = 0;
canreach = 1; canreach = 1;
warnreach = 1; warnreach = 1;
gen(n); gen(n);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment