fixing bug found by coverity
diff --git a/doc/markdown/features.md b/doc/markdown/features.md
index 0c167e3..c829ea4 100644
--- a/doc/markdown/features.md
+++ b/doc/markdown/features.md
@@ -85,6 +85,7 @@
(signals on *NIX platforms or structured exceptions on Windows)
- think about the expression decomposition static asserts
+- VC6 support
- examples and test coverage
- enabling COMPARE in tests
diff --git a/doctest/doctest.h b/doctest/doctest.h
index 86011fa..80b35b9 100644
--- a/doctest/doctest.h
+++ b/doctest/doctest.h
@@ -1880,7 +1880,7 @@
if(p.hash_table_histogram) {
// find the most full bucket
- unsigned maxInBucket = 0;
+ unsigned maxInBucket = 1;
for(i = 0; i < buckets.size(); i++)
if(buckets[i].size() > maxInBucket)
maxInBucket = buckets[i].size();