summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shred.c1
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;