From c7fb26230801e62f3e690a8948d37c33517c4c13 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 23 Jan 2008 11:31:53 +0100 Subject: - 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. --- cpp/src/slice2html/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2html/Main.cpp') 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); -- cgit v1.2.3