1
0
mirror of https://github.com/golang/go synced 2024-09-29 07:24:32 -06:00

crypto: remove redundant nil check around loop

This commit is contained in:
Rijnard van Tonder 2018-10-11 15:14:14 -04:00
parent 8f9902da26
commit 694509e33d

View File

@ -231,12 +231,10 @@ L:
continue L continue L
} }
} }
if dec != nil { for j, v := range dec {
for j, v := range dec { if v != tt.dec[j] {
if v != tt.dec[j] { t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j])
t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j]) continue L
continue L
}
} }
} }
} }