]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: dead code and data
authorRuss Cox <rsc@golang.org>
Tue, 5 May 2009 18:24:03 +0000 (11:24 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 5 May 2009 18:24:03 +0000 (11:24 -0700)
R=r
DELTA=10  (0 added, 10 deleted, 0 changed)
OCL=28258
CL=28287

src/lib/fmt/format.go

index 1c78d80c5e76885ff151276de987a504eeead85a..a66440f261572affaad8c4c2fde0819a58ed2409 100644 (file)
@@ -14,16 +14,6 @@ const nPows10 = 160;
 
 var ldigits string = "0123456789abcdef"  // var not const because we take its address
 var udigits string = "0123456789ABCDEF"
-var pows10 [nPows10] float64;
-
-func init() {
-       pows10[0] = 1.0e0;
-       pows10[1] = 1.0e1;
-       for i:=2; i<nPows10; i++ {
-               m := i/2;
-               pows10[i] = pows10[m] * pows10[i-m];
-       }
-}
 
 /*
        Fmt is the raw formatter used by Printf etc.  Not meant for normal use.