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
4ba677c6
Commit
4ba677c6
authored
Sep 07, 2011
by
Lucio De Re
Committed by
Russ Cox
Sep 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gc: silence Plan 9 warnings
R=golang-dev CC=golang-dev, rsc
https://golang.org/cl/4975055
parent
21e49cbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sinit.c
src/cmd/gc/sinit.c
+2
-0
typecheck.c
src/cmd/gc/typecheck.c
+0
-1
No files found.
src/cmd/gc/sinit.c
View file @
4ba677c6
...
...
@@ -1260,6 +1260,8 @@ addvalue(InitPlan *p, vlong xoffset, Node *key, Node *n)
InitPlan
*
q
;
InitEntry
*
e
;
USED
(
key
);
// special case: zero can be dropped entirely
if
(
iszero
(
n
))
{
p
->
zero
+=
n
->
type
->
width
;
...
...
src/cmd/gc/typecheck.c
View file @
4ba677c6
...
...
@@ -1031,7 +1031,6 @@ reswitch:
}
n
->
left
=
args
->
n
;
n
->
right
=
args
->
next
->
n
;
args
=
nil
;
n
->
list
=
nil
;
n
->
type
=
types
[
TINT
];
typecheck
(
&
n
->
left
,
Erv
);
...
...
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