Explicitly suppress error returned by parseImport

This error is already logged by parseImportImpl, so suppresing it is not
a bug.  Making the suppression explicit fixes a static analysis warning.
pull/152/head
Jeremy Rand 2 years ago
parent d4e1513d3d
commit 04193f251e
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -399,7 +399,7 @@ func parse(rv interface{}, v *Value, resolve ResolveFunc, errFunc ErrorFunc, dep
return
}
parseImport(rvm, v, resolve, errFunc, depth, mergeDepth, relname, mergedNames)
_ = parseImport(rvm, v, resolve, errFunc, depth, mergeDepth, relname, mergedNames)
if ip, ok := rvm["ip"]; ok {
parseIP(rvm, v, errFunc, ip, false)
}

Loading…
Cancel
Save