The one about comparison being always the same because of data type
ranges is especially annoying, but I don't know how to shut it up.
#endif
size_t bufsize = ctx->big_buf_half_size; /* FIXME: In some cases, we can use the whole buffer */
+#ifdef CPU_64BIT_POINTERS
bufsize = MIN((u64)bufsize, (u64)~0U * sizeof(P(internal_item_t))); // The number of records must fit in uns
+#endif
SORT_XTRACE("s-internal: Reading (bufsize=%zd)", bufsize);
P(internal_item_t) *item_array = ctx->big_buf, *item = item_array, *last_item;
bout = bout_only;
struct fastbuf *out = sbuck_write(bout);
bout->runs++;
- uns merged = 0;
+ uns merged UNUSED = 0;
for (item = item_array; item < last_item; item++)
{
#ifdef SORT_UNIFY