summaryrefslogtreecommitdiff
path: root/cpp/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-31 12:11:53 +0200
committerJose <jose@zeroc.com>2016-03-31 12:11:53 +0200
commitef6688af9dde55a29fe12afd54cf420c78be652e (patch)
tree115142ffe7375a6562be6d9349892583d726f163 /cpp/test
parentIceUtil/stacktrace win32 fix (diff)
downloadice-ef6688af9dde55a29fe12afd54cf420c78be652e.tar.bz2
ice-ef6688af9dde55a29fe12afd54cf420c78be652e.tar.xz
ice-ef6688af9dde55a29fe12afd54cf420c78be652e.zip
stacktrace test unused variable warning
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/IceUtil/stacktrace/Client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/stacktrace/Client.cpp b/cpp/test/IceUtil/stacktrace/Client.cpp
index 6d28869a5d8..e2584359281 100644
--- a/cpp/test/IceUtil/stacktrace/Client.cpp
+++ b/cpp/test/IceUtil/stacktrace/Client.cpp
@@ -222,7 +222,9 @@ int main(int argc, char* argv[])
while(true)
{
+#if defined(_WIN32) && defined(NDEBUG)
bool match = true;
+#endif
ifstream ifs(filename.c_str());
stringstream sstr;
sstr << ifs.rdbuf();