source, tpl: Fix staticcheck complaints
authorAlbert Nigmatzianov <albertnigma@gmail.com>
Tue, 15 Nov 2016 20:22:43 +0000 (21:22 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 15 Nov 2016 20:22:43 +0000 (21:22 +0100)
commit950034db5cca6df75a2cb39c5e2c2e66dc41c534
treece8c79732372f6713da50d07d773f1b0035337a5
parentbb36d57be5bafb61ae65a58b6ed61db122464151
source, tpl: Fix staticcheck complaints

tpl/template_funcs.go:1019:3: the surrounding loop is unconditionally terminated
source/lazy_file_reader.go:66:5: err != nil is always true for all possible
values ([nil:error] != [nil:error])
source/lazy_file_reader.go
tpl/template_funcs.go