]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix c compiler warning
authorShenghou Ma <minux.ma@gmail.com>
Fri, 4 May 2012 17:39:09 +0000 (01:39 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 4 May 2012 17:39:09 +0000 (01:39 +0800)
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