summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2html/Main.cpp')
-rw-r--r--cpp/src/slice2html/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2html/Main.cpp b/cpp/src/slice2html/Main.cpp
index 6ca031ae35b..3cb0ff90778 100644
--- a/cpp/src/slice2html/Main.cpp
+++ b/cpp/src/slice2html/Main.cpp
@@ -125,7 +125,7 @@ main(int argc, char* argv[])
string indexFooter = opts.optArg("indexftr");
string ind = opts.optArg("index");
- unsigned indexCount;
+ unsigned indexCount = 0;
if(!ind.empty())
{
istringstream s(ind);
@@ -145,7 +145,7 @@ main(int argc, char* argv[])
string searchAction = opts.optArg("search");
string warnSummary = opts.optArg("summary");
- unsigned summaryCount;
+ unsigned summaryCount = 0;
if(!warnSummary.empty())
{
istringstream s(warnSummary);