diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-31 17:58:53 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-01 12:10:07 +0200 |
commit | e3b14643f49573b23f707e124374e0065119a3e6 (patch) | |
tree | 92444e655272bb3d294b5ed233b993fd96489145 | |
parent | e579a697b213109ac846696ba6a2de743e9d30f9 (diff) | |
download | coreutils-e3b14643f49573b23f707e124374e0065119a3e6.tar.xz |
maint: shred: remove unnecessary initialization
* src/shred.c (genpattern): Value stored to "n" is never used.
-rw-r--r-- | src/shred.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |