Art9Studio / Aureole

Redundant statements can be removed RVV-A0010
Anti-pattern
Major
2 years ago2 years old
Omit unnecessary break at the end of case clause
138
139	switch {
140	case len(password) == 6 && password[0] >= '0' && password[0] <= '9':
141		break142	case len(password) == 8:
143		scratch = true
144	default: