From b63fe45460ba9f87a332f4c38b43ca5372722207 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 23 Jun 2013 20:15:52 -0400 Subject: [PATCH] regressions: Fix uninitialized usage in ck_hs parallel_bytestring. --- regressions/ck_hs/benchmark/parallel_bytestring.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/regressions/ck_hs/benchmark/parallel_bytestring.c b/regressions/ck_hs/benchmark/parallel_bytestring.c index bea2190..f961837 100644 --- a/regressions/ck_hs/benchmark/parallel_bytestring.c +++ b/regressions/ck_hs/benchmark/parallel_bytestring.c @@ -553,7 +553,10 @@ main(int argc, char *argv[]) delete = common_drand48(); if (delete <= p_d) set_remove(keys[i]); + } else { + delete = 0.0; } + if (p_r != 0.0) { replace = common_drand48(); if (replace <= p_r) {