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
9c3ecb36
Commit
9c3ecb36
authored
Apr 14, 2011
by
Dave Cheney
Committed by
Russ Cox
Apr 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: fix set and not used in chan.c
R=rsc CC=golang-dev
https://golang.org/cl/4416042
parent
2fca1a40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
chan.c
src/pkg/runtime/chan.c
+0
-1
No files found.
src/pkg/runtime/chan.c
View file @
9c3ecb36
...
...
@@ -121,7 +121,6 @@ runtime·makechan_c(Type *elem, int64 hint)
by
=
runtime
·
mal
(
n
+
hint
*
elem
->
size
);
c
=
(
Hchan
*
)
by
;
by
+=
n
;
runtime
·
addfinalizer
(
c
,
destroychan
,
0
);
c
->
elemsize
=
elem
->
size
;
...
...
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