]> Cypherpunks repositories - gostls13.git/commitdiff
exp/norm: fix incorrect prints found by govet.
authorRobert Hencke <robert.hencke@gmail.com>
Sun, 14 Aug 2011 04:02:48 +0000 (14:02 +1000)
committerDavid Symonds <dsymonds@golang.org>
Sun, 14 Aug 2011 04:02:48 +0000 (14:02 +1000)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4895042

src/pkg/exp/norm/maketables.go

index a6e3aa5e1abf3a3b3c122264834368830cb64408..e3e5700a64efcf419e464fc5a71fc5c88b3076a7 100644 (file)
@@ -116,7 +116,6 @@ const (
        MNumberOfModes
 )
 
-
 // This contains only the properties we're interested in.
 type Char struct {
        name          string
@@ -267,7 +266,7 @@ func parseCharacter(line string) {
        }
        x, err = strconv.Atoui64(field[FCanonicalCombiningClass])
        if err != nil {
-               logger.Fatal("%U: bad ccc field: %s", int(x), err)
+               logger.Fatalf("%U: bad ccc field: %s", int(x), err)
        }
        ccc := uint8(x)
        decmap := field[FDecompMapping]
@@ -438,7 +437,6 @@ func decomposeRecursive(form int, rune int, d Decomposition) Decomposition {
        return d
 }
 
-
 func completeCharFields(form int) {
        // Phase 0: pre-expand decomposition.
        for i := range chars {