From 7e2fd5e62062f910ad6fe58dcca97a7e69b85bb3 Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 6 May 2019 08:59:02 -0400 Subject: Remove some ineffectual assignments as reported by goreportcard.com --- utf8fontfile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utf8fontfile.go') 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 -- cgit v1.2.1-24-ge1ad