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
9094941a
Commit
9094941a
authored
Jul 18, 2013
by
Dave Cheney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/ld: trivial: fix unused parameter pedantry
R=golang-dev, r, rsc CC=golang-dev
https://golang.org/cl/11436043
parent
4aa6d353
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lib.c
src/cmd/ld/lib.c
+3
-0
No files found.
src/cmd/ld/lib.c
View file @
9094941a
...
...
@@ -1614,6 +1614,7 @@ static int32
pctospadj
(
Sym
*
sym
,
int32
oldval
,
Prog
*
p
,
int32
phase
,
int32
arg
)
{
USED
(
arg
);
USED
(
sym
);
if
(
oldval
==
-
1
)
// starting
oldval
=
0
;
...
...
@@ -1634,6 +1635,8 @@ pctospadj(Sym *sym, int32 oldval, Prog *p, int32 phase, int32 arg)
static
int32
pctopcdata
(
Sym
*
sym
,
int32
oldval
,
Prog
*
p
,
int32
phase
,
int32
arg
)
{
USED
(
sym
);
if
(
phase
==
0
||
p
->
as
!=
APCDATA
||
p
->
from
.
offset
!=
arg
)
return
oldval
;
if
((
int32
)
p
->
to
.
offset
!=
p
->
to
.
offset
)
{
...
...
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