summaryrefslogtreecommitdiff
path: root/utf8fontfile.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-05-06 08:59:02 -0400
committerKurt <kurt.w.jung@gmail.com>2019-05-06 08:59:02 -0400
commit7e2fd5e62062f910ad6fe58dcca97a7e69b85bb3 (patch)
tree700ce534766cc0c7397e5c1da95b28099918118c /utf8fontfile.go
parentbd6c576bfedb4b1a02d8232f9332244a4497df55 (diff)
Remove some ineffectual assignments as reported by goreportcard.com
Diffstat (limited to 'utf8fontfile.go')
-rw-r--r--utf8fontfile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8fontfile.go b/utf8fontfile.go
index 964e919..0894701 100644
--- a/utf8fontfile.go
+++ b/utf8fontfile.go
@@ -863,8 +863,8 @@ func (utf *utf8FontFile) parseHMTXTable(numberOfHMetrics, numSymbols int, symbol
}
}
}
- data := utf.getRange(start+numberOfHMetrics*4, numSymbols*2)
- arr = unpackUint16Array(data)
+ // data := utf.getRange(start+numberOfHMetrics*4, numSymbols*2)
+ // arr = unpackUint16Array(data)
diff := numSymbols - numberOfHMetrics
for pos := 0; pos < diff; pos++ {
symbol := pos + numberOfHMetrics