summaryrefslogtreecommitdiff
path: root/libmisc/tests/test_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmisc/tests/test_rand.c')
-rw-r--r--libmisc/tests/test_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/tests/test_rand.c b/libmisc/tests/test_rand.c
index 3596d94..ecb1c49 100644
--- a/libmisc/tests/test_rand.c
+++ b/libmisc/tests/test_rand.c
@@ -50,7 +50,7 @@ static void test_n(uint64_t cnt) {
#endif
} else {
double sum = 0;
- bool seen[MAX_SEE_ALL] = {0};
+ bool seen[MAX_SEE_ALL] = {};
for (int i = 0; i < ROUNDS; i++) {
uint64_t val = rand_uint63n(cnt);
sum += val;