1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:14:44 -07:00

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
This commit is contained in:
Ian Lance Taylor 2014-08-04 20:29:36 -07:00
parent aac1eabcee
commit 6c007bb065

View File

@ -55,7 +55,8 @@ runtime·netpollclose(uintptr fd)
void void
runtime·netpollarm(PollDesc* pd, int32 mode) runtime·netpollarm(PollDesc* pd, int32 mode)
{ {
USED(pd, mode); USED(pd);
USED(mode);
runtime·throw("unused"); runtime·throw("unused");
} }