Remove unneeded checks in qsort comparator.
This commit is contained in:
parent
2cbcb0c9e4
commit
927da81562
1 changed files with 2 additions and 2 deletions
|
@ -233,10 +233,10 @@ cmpblks(const void *a, const void *b)
|
|||
return (-1);
|
||||
} else if (a1->length == b1->length) {
|
||||
return (0);
|
||||
} else if (a1->length > b1->length) {
|
||||
} else {
|
||||
return (1);
|
||||
}
|
||||
} else if (a1->cksum_n_offset > b1->cksum_n_offset) {
|
||||
} else {
|
||||
return (1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue