mirror of
https://github.com/golang/go
synced 2024-11-24 03:40:16 -07:00
crypto: remove redundant nil check around loop
This commit is contained in:
parent
8f9902da26
commit
694509e33d
@ -231,12 +231,10 @@ L:
|
||||
continue L
|
||||
}
|
||||
}
|
||||
if dec != nil {
|
||||
for j, v := range dec {
|
||||
if v != tt.dec[j] {
|
||||
t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j])
|
||||
continue L
|
||||
}
|
||||
for j, v := range dec {
|
||||
if v != tt.dec[j] {
|
||||
t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j])
|
||||
continue L
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user