]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix unused variable warning
authorDave Cheney <dave@cheney.net>
Sat, 16 Feb 2013 03:32:04 +0000 (14:32 +1100)
committerDave Cheney <dave@cheney.net>
Sat, 16 Feb 2013 03:32:04 +0000 (14:32 +1100)
R=rsc, dvyukov
CC=golang-dev
https://golang.org/cl/7312103

src/pkg/runtime/race.c

index 5fa67bc5bba6671399c19f021e1dfd844859e72e..8f611cb2d86984fb7658e6ae31f4a0613d0e02a4 100644 (file)
@@ -36,7 +36,7 @@ static bool onstack(uintptr argp);
 uintptr
 runtime·raceinit(void)
 {
-       uintptr sz, racectx;
+       uintptr racectx;
 
        m->racecall = true;
        runtime∕race·Initialize(&racectx);