]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1] runtime: fix c compiler warning
authorShenghou Ma <minux.ma@gmail.com>
Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)
««« backport e388ce51be75
runtime: fix c compiler warning

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6185047

»»»

src/pkg/runtime/vlrt_arm.c

index 50f33710b1a3bc9f0b69d9394cb1893297f4e9ae..ab805017755f79c857c357c9ab0f7d0cb394fd11 100644 (file)
@@ -197,12 +197,14 @@ void
 runtime·int64tofloat64(Vlong y, double d)
 {
        d = _v2d(y);
+       USED(&d); // FLUSH
 }
 
 void
 runtime·uint64tofloat64(Vlong y, double d)
 {
        d = _ul2d(y.hi)*4294967296. + _ul2d(y.lo);
+       USED(&d); // FLUSH
 }
 
 static void