]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: only use a single variable in USED
authorIan Lance Taylor <iant@golang.org>
Tue, 5 Aug 2014 03:29:36 +0000 (20:29 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Aug 2014 03:29:36 +0000 (20:29 -0700)
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

src/pkg/runtime/netpoll_epoll.c

index 9ea5e1a59585d280c11917e434b0430172a0b962..a0ae7df310e43bfdc2de3bc1aa393ef7c9ad0eb9 100644 (file)
@@ -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");
 }