summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Main.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
commitc7fb26230801e62f3e690a8948d37c33517c4c13 (patch)
treef17689f60e13fbbd20d12473272a6f0652f39a78 /cpp/src/slice2html/Main.cpp
parentremoving EventHandler in C# (diff)
downloadice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.bz2
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.xz
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.zip
- Added IceUtil::SyscallException and cleaned up few IceUtil exceptions
- Added errorToString() and lastErrorToString() functions to IceUtil/StringUtil.h - Replaced multiple implementations of errorToString methods with the IceUtil one. - Fixed bug 2641.
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);