mirror of
https://github.com/golang/go
synced 2024-11-19 12:14:42 -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:
parent
aac1eabcee
commit
6c007bb065
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user