]> mj.ucw.cz Git - libucw.git/commitdiff
Another work-around for spurious warnings.
authorMartin Mares <mj@ucw.cz>
Sun, 29 May 2005 09:20:45 +0000 (09:20 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 29 May 2005 09:20:45 +0000 (09:20 +0000)
lib/sorter.h

index 3d31b65662c6f90d7d4aa4044b7d145a058df346..15ff9bf7b16bc0378b8231a579cd7035ea8dd088 100644 (file)
@@ -279,7 +279,7 @@ P(presort)(struct fastbuf **fb1, struct fastbuf **fb2)
   struct fastbuf *tbuf;
   uns buf_items = sorter_presort_bufsize / sizeof(SORT_KEY);
   uns run_count = 0;
-  SORT_KEY last_out, *array;
+  SORT_KEY last_out = { }, *array;
 
   ASSERT(!*fb2);
   if (buf_items < 2)