Pure function's return value is discarded, making the call pointless SCC-SA4017
Anti-pattern
Major
6 months ago5 years old
HasPrefix doesn't have side effects and its return value is ignored
824		if err == nil {
825			state.tagWV = true
826		}
827	case strings.HasPrefix(line, "#"):828		// comments are ignored
829	}
830	return err
HasPrefix doesn't have side effects and its return value is ignored
439				state.variant.HDCPLevel = v
440			}
441		}
442	case strings.HasPrefix(line, "#"):443		// comments are ignored
444	}
445	return err