diff options
| author | Ian Lance Taylor <iant@golang.org> | 2014-08-04 20:29:36 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2014-08-04 20:29:36 -0700 |
| commit | 6c007bb065dbbf0db878c68221d302f49b3e8350 (patch) | |
| tree | e91185b1eb00910100d089e00e8869405547e93c /src/pkg/runtime | |
| parent | aac1eabcee45a338f5b2e493cb2e3a0f153cb931 (diff) | |
| download | go-6c007bb065dbbf0db878c68221d302f49b3e8350.tar.xz | |
runtime: only use a single variable in USED
The gccgo version of USED only accepts a single variable, so
this simplifies merging.
LGTM=minux, dave
R=golang-codereviews, minux, dave
CC=golang-codereviews
https://golang.org/cl/115630043
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/netpoll_epoll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/netpoll_epoll.c b/src/pkg/runtime/netpoll_epoll.c index 9ea5e1a595..a0ae7df310 100644 --- a/src/pkg/runtime/netpoll_epoll.c +++ b/src/pkg/runtime/netpoll_epoll.c @@ -55,7 +55,8 @@ runtime·netpollclose(uintptr fd) void runtime·netpollarm(PollDesc* pd, int32 mode) { - USED(pd, mode); + USED(pd); + USED(mode); runtime·throw("unused"); } |
