Commit 8a439334 authored by Robert Hencke's avatar Robert Hencke Committed by David Symonds

exp/norm: fix incorrect prints found by govet.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4895042
parent 6e66b16a
...@@ -116,7 +116,6 @@ const ( ...@@ -116,7 +116,6 @@ const (
MNumberOfModes MNumberOfModes
) )
// This contains only the properties we're interested in. // This contains only the properties we're interested in.
type Char struct { type Char struct {
name string name string
...@@ -267,7 +266,7 @@ func parseCharacter(line string) { ...@@ -267,7 +266,7 @@ func parseCharacter(line string) {
} }
x, err = strconv.Atoui64(field[FCanonicalCombiningClass]) x, err = strconv.Atoui64(field[FCanonicalCombiningClass])
if err != nil { 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) ccc := uint8(x)
decmap := field[FDecompMapping] decmap := field[FDecompMapping]
...@@ -438,7 +437,6 @@ func decomposeRecursive(form int, rune int, d Decomposition) Decomposition { ...@@ -438,7 +437,6 @@ func decomposeRecursive(form int, rune int, d Decomposition) Decomposition {
return d return d
} }
func completeCharFields(form int) { func completeCharFields(form int) {
// Phase 0: pre-expand decomposition. // Phase 0: pre-expand decomposition.
for i := range chars { for i := range chars {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment