From e3b14643f49573b23f707e124374e0065119a3e6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 31 Aug 2009 17:58:53 +0200 Subject: maint: shred: remove unnecessary initialization * src/shred.c (genpattern): Value stored to "n" is never used. --- src/shred.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shred.c b/src/shred.c index 43b6d64f5..2f3178993 100644 --- a/src/shred.c +++ b/src/shred.c @@ -677,7 +677,6 @@ genpattern (int *dest, size_t num, struct randint_source *s) if ((size_t) k >= n) { randpasses += n; - n = 0; break; } randpasses += k; -- cgit v1.2.3-70-g09d2