diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-01-23 11:23:06 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-01-23 11:23:06 -0330 |
commit | 73ed8d4571a1bfb312e1f459a34296eaf78ae850 (patch) | |
tree | aa1840486c869ac79fc85d9c4aebbfdf6e4d1353 /cpp/demo/Ice/throughput/Client.cpp | |
parent | Java test controller server fixes (diff) | |
download | ice-73ed8d4571a1bfb312e1f459a34296eaf78ae850.tar.bz2 ice-73ed8d4571a1bfb312e1f459a34296eaf78ae850.tar.xz ice-73ed8d4571a1bfb312e1f459a34296eaf78ae850.zip |
Fixed some warnings that show upi with higher warning levels
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index 717fa756b68..8aba2229d0c 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -150,7 +150,7 @@ ThroughputClient::run(int argc, char* argv[]) char currentType = '1'; int seqSize = ByteSeqSize; - char c; + char c = 'x'; do { try @@ -252,9 +252,9 @@ ThroughputClient::run(int argc, char* argv[]) { cout << " as oneway"; } - + cout << "..." << endl; - + for(int i = 0; i < repetitions; ++i) { switch(currentType) @@ -268,19 +268,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendByteSeq(byteArr); break; } - + case 'o': { throughputOneway->sendByteSeq(byteArr); break; } - + case 'r': { throughput->recvByteSeq(); break; } - + case 'e': { throughput->echoByteSeq(byteArr); @@ -299,19 +299,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendStringSeq(stringViewSeq); break; } - + case 'o': { throughputOneway->sendStringSeq(stringViewSeq); break; } - + case 'r': { throughput->recvStringSeq(); break; } - + case 'e': { throughput->echoStringSeq(stringViewSeq); @@ -330,19 +330,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendStructSeq(structSeq); break; } - + case 'o': { throughputOneway->sendStructSeq(structSeq); break; } - + case 'r': { throughput->recvStructSeq(); break; } - + case 'e': { throughput->echoStructSeq(structSeq); @@ -361,19 +361,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendFixedSeq(fixedSeq); break; } - + case 'o': { throughputOneway->sendFixedSeq(fixedSeq); break; } - + case 'r': { throughput->recvFixedSeq(); break; } - + case 'e': { throughput->echoFixedSeq(fixedSeq); |