summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-02-03 10:04:58 -0330
committerDwayne Boone <dwayne@zeroc.com>2015-02-03 10:04:58 -0330
commit0c9eca09e0140dbdc6e954d8d1475cf99c52073d (patch)
tree674c29c884de6cb8a86f3ccabd2d1d69334133d4 /cpp/demo/Ice/throughput/Client.cpp
parentFixed compiler warning/error (diff)
downloadice-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/Ice/throughput/Client.cpp')
-rw-r--r--cpp/demo/Ice/throughput/Client.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp
index 8aba2229d0c..dff155d2b88 100644
--- a/cpp/demo/Ice/throughput/Client.cpp
+++ b/cpp/demo/Ice/throughput/Client.cpp
@@ -70,15 +70,14 @@ ThroughputClient::run(int argc, char* argv[])
vector<Util::string_view> stringViewSeq(StringSeqSize, "hello");
StringDoubleSeq structSeq(StringDoubleSeqSize);
- int i;
- for(i = 0; i < StringDoubleSeqSize; ++i)
+ for(int i = 0; i < StringDoubleSeqSize; ++i)
{
structSeq[i].s = "hello";
structSeq[i].d = 3.14;
}
FixedSeq fixedSeq(FixedSeqSize);
- for(i = 0; i < FixedSeqSize; ++i)
+ for(int i = 0; i < FixedSeqSize; ++i)
{
fixedSeq[i].i = 0;
fixedSeq[i].j = 0;