[style] remove redundant nil/length check on slice

Nil slices are valid slices of length 0, so the nil check is not needed.

Signed-off-by: Sam Whited sam@samwhited.com

Edited by Ghost User

Merge request reports

Loading