Skip to content
  • Patrick Steinhardt's avatar
    golangci: Enable wastedassign linter · d6b658f9
    Patrick Steinhardt authored
    The wastedassign linter will check whether a newly assigned variable is
    used in any code path after its assignment. This seems like a useful
    check to have, e.g. to not forget checking a reassigned error value.
    
    Enable the linter and fix the single violation it surfaces.
    d6b658f9