Commit 7ad41c62 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Remove unnecessary duplicate check for drift in runner_do_sort()

parent 2c1293cc
......@@ -324,9 +324,6 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int clock) {
}
if (flags == 0) return;
/* Sorting an un-drifted cell? */
if (!cell_is_drifted(c, r->e)) error("Sorting undrifted cell.");
/* start by allocating the entry arrays. */
if (c->sort == NULL || c->sortsize < count) {
if (c->sort != NULL) free(c->sort);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment