]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove unused FmtWidth flag
authorRobert Griesemer <gri@golang.org>
Tue, 30 Aug 2016 19:46:36 +0000 (12:46 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 30 Aug 2016 19:54:01 +0000 (19:54 +0000)
Change-Id: I6c48683b620b0f119d7f0ae4a88502773202756b
Reviewed-on: https://go-review.googlesource.com/28170
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/fmt.go

index 23ba262f936a067ad8b07b542ae5aedda8ace150..96cc39346584facf714380b370388feb854381e8 100644 (file)
@@ -18,15 +18,14 @@ import (
 type FmtFlag int
 
 const (
-       FmtWidth    FmtFlag = 1 << iota
-       FmtLeft             // "-"
-       FmtSharp            // "#"
-       FmtSign             // "+"
-       FmtUnsigned         // "u"
-       FmtShort            // "h"
-       FmtLong             // "l"
-       FmtComma            // ","
-       FmtByte             // "hh"
+       FmtLeft     FmtFlag = 1 << iota // "-"
+       FmtSharp                        // "#"
+       FmtSign                         // "+"
+       FmtUnsigned                     // "u"
+       FmtShort                        // "h"
+       FmtLong                         // "l"
+       FmtComma                        // ","
+       FmtByte                         // "hh"
 )
 
 //
@@ -71,7 +70,6 @@ const (
 const (
        FErr = iota
        FDbg
-       _ // formerly FExp - leave gap for now just in case there's some hard-wired dependency on the const value
        FTypeId
 )