summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/interleaved/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/interleaved/Client.cpp')
-rw-r--r--cpp/demo/Ice/interleaved/Client.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/demo/Ice/interleaved/Client.cpp b/cpp/demo/Ice/interleaved/Client.cpp
index 066860e6846..dca8b99f3d8 100644
--- a/cpp/demo/Ice/interleaved/Client.cpp
+++ b/cpp/demo/Ice/interleaved/Client.cpp
@@ -103,15 +103,14 @@ ThroughputClient::run(int argc, char* argv[])
StringSeq stringSeq(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;