X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgroup.c;h=e394745e96496d6d9fae5f8f5d8c1ee01d6f21a1;hb=2c9a5954d98d4dd508d8fbf2496f2bb819527a46;hp=fb86295ba34748adf423db756d43e251ac797a38;hpb=e976a0fa28771a625ba29b86cc5883838d0f1c70;p=pspp diff --git a/src/group.c b/src/group.c index fb86295ba3..e394745e96 100644 --- a/src/group.c +++ b/src/group.c @@ -29,16 +29,7 @@ compare_group(const struct group_statistics *a, const struct group_statistics *b, int width) { - int id_cmp = compare_values(&a->id, &b->id, width); - - if (id_cmp == 0 ) - { - int c; - c= memcmp(&a->criterion,&b->criterion,sizeof(enum comparison)); - return c; - } - else - return id_cmp; + return compare_values(&a->id, &b->id, width); }