Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
ab9db8a5
Commit
ab9db8a5
authored
Oct 18, 2008
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup - delete unneeded vargen++
R=ken OCL=17394 CL=17394
parent
d378321b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
dcl.c
src/cmd/gc/dcl.c
+0
-2
No files found.
src/cmd/gc/dcl.c
View file @
ab9db8a5
...
...
@@ -686,7 +686,6 @@ addvar(Node *n, Type *t, int ctxt)
if
(
ctxt
==
PEXTERN
)
{
r
=
externdcl
;
gen
=
0
;
vargen
++
;
// just for diffing output against old compiler
}
else
{
r
=
autodcl
;
vargen
++
;
...
...
@@ -737,7 +736,6 @@ addtyp(Type *n, int ctxt)
r
=
autodcl
;
pushdcl
(
s
);
}
vargen
++
;
// just for diffing output against old compiler
if
(
s
->
tblock
==
block
)
yyerror
(
"type %S redeclared in this block %d"
,
s
,
block
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment