[PATCH] Really *do* nothing in while loop

From: Thomas Glanzmann
Date: Sun May 08 2005 - 04:36:21 EST


[PATCH] Really *do* nothing in while loop

Signed-Off-by: Thomas Glanzmann <sithglan@xxxxxxxxxxxxxxxxxxxx>

--- a/sha1_file.c
+++ b/sha1_file.c
@@ -335,7 +335,7 @@
stream.next_in = hdr;
stream.avail_in = hdrlen;
while (deflate(&stream, 0) == Z_OK)
- /* nothing */
+ /* nothing */;

/* Then the data itself.. */
stream.next_in = buf;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/