Remove unneeded checks in qsort comparator.

This commit is contained in:
Moinak Ghosh 2012-08-05 18:58:40 +05:30
parent 2cbcb0c9e4
commit 927da81562

View file

@ -233,10 +233,10 @@ cmpblks(const void *a, const void *b)
return (-1); return (-1);
} else if (a1->length == b1->length) { } else if (a1->length == b1->length) {
return (0); return (0);
} else if (a1->length > b1->length) { } else {
return (1); return (1);
} }
} else if (a1->cksum_n_offset > b1->cksum_n_offset) { } else {
return (1); return (1);
} }
} }