Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
d21b1922
Commit
d21b1922
authored
Feb 26, 2013
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libmach: fix build (set and not used)
TBR=golang-dev CC=golang-dev
https://golang.org/cl/7401053
parent
56a06db3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/libmach/sym.c
src/libmach/sym.c
+1
-2
No files found.
src/libmach/sym.c
View file @
d21b1922
...
...
@@ -110,7 +110,7 @@ syminit(int fd, Fhdr *fp)
{
Sym
*
p
;
int32
i
,
l
,
size
;
vlong
vl
,
off
;
vlong
vl
;
Biobuf
b
;
int
svalsz
,
newformat
,
shift
;
uvlong
(
*
swav
)(
uvlong
);
...
...
@@ -167,7 +167,6 @@ syminit(int fd, Fhdr *fp)
size
=
0
;
for
(
p
=
symbols
;
size
<
fp
->
symsz
;
p
++
,
nsym
++
)
{
if
(
newformat
)
{
off
=
Boffset
(
&
b
);
// Go 1.1 format. See comment at top of ../pkg/runtime/symtab.c.
if
(
Bread
(
&
b
,
&
c
,
1
)
!=
1
)
return
symerrmsg
(
1
,
"symbol"
);
...
...
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