diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-02-03 10:04:58 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-02-03 10:04:58 -0330 |
commit | 0c9eca09e0140dbdc6e954d8d1475cf99c52073d (patch) | |
tree | 674c29c884de6cb8a86f3ccabd2d1d69334133d4 /cpp/demo/Manual/simple_filesystem/Client.cpp | |
parent | Fixed compiler warning/error (diff) | |
download | ice-0c9eca09e0140dbdc6e954d8d1475cf99c52073d.tar.bz2 ice-0c9eca09e0140dbdc6e954d8d1475cf99c52073d.tar.xz ice-0c9eca09e0140dbdc6e954d8d1475cf99c52073d.zip |
ICE-5814 build linix/osx demos with high warning levels in git
Diffstat (limited to 'cpp/demo/Manual/simple_filesystem/Client.cpp')
-rw-r--r-- | cpp/demo/Manual/simple_filesystem/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |