From 0c9eca09e0140dbdc6e954d8d1475cf99c52073d Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Tue, 3 Feb 2015 10:04:58 -0330 Subject: ICE-5814 build linix/osx demos with high warning levels in git --- cpp/demo/Manual/simple_filesystem/Client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/demo/Manual/simple_filesystem/Client.cpp') diff --git a/cpp/demo/Manual/simple_filesystem/Client.cpp b/cpp/demo/Manual/simple_filesystem/Client.cpp index 2452da99f63..1a225684df3 100644 --- a/cpp/demo/Manual/simple_filesystem/Client.cpp +++ b/cpp/demo/Manual/simple_filesystem/Client.cpp @@ -28,12 +28,12 @@ listRecursive(const DirectoryPrx& dir, int depth = 0) for(NodeSeq::const_iterator i = contents.begin(); i != contents.end(); ++i) { - DirectoryPrx dir = DirectoryPrx::checkedCast(*i); + DirectoryPrx d = DirectoryPrx::checkedCast(*i); FilePrx file = FilePrx::uncheckedCast(*i); - cout << indent << (*i)->name() << (dir ? " (directory):" : " (file):") << endl; - if(dir) + cout << indent << (*i)->name() << (d ? " (directory):" : " (file):") << endl; + if(d) { - listRecursive(dir, depth); + listRecursive(d, depth); } else { -- cgit v1.2.3