summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-04-11 13:06:08 +0000
committerMark Spruiell <mes@zeroc.com>2006-04-11 13:06:08 +0000
commitc745c454987a3deab6548cee22f144264546ea2b (patch)
tree1eeef9ea8036ee13f9002e768fe828301d32a1d7 /cpp/src
parentChanges to garbage collector to speed it up for highly-connected graphs. (diff)
downloadice-c745c454987a3deab6548cee22f144264546ea2b.tar.bz2
ice-c745c454987a3deab6548cee22f144264546ea2b.tar.xz
ice-c745c454987a3deab6548cee22f144264546ea2b.zip
fix for bug 940: Eclipse warning
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2java/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 8d22751c2dc..909b0ddbba8 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1701,7 +1701,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
out << nl << "if(__rid)";
out << sb;
- out << nl << "String myId = __is.readTypeId();";
+ out << nl << "__is.readTypeId();";
out << eb;
out << nl << "__is.startReadSlice();";
iter = 0;
@@ -1747,7 +1747,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
out << nl << "if(__rid)";
out << sb;
- out << nl << "String myId = __inS.readTypeId();";
+ out << nl << "__inS.readTypeId();";
out << eb;
out << nl << "__inS.startSlice();";
iter = 0;
@@ -2027,7 +2027,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
out << sb;
out << nl << "if(__rid)";
out << sb;
- out << nl << "String myId = __is.readString();";
+ out << nl << "__is.readString();";
out << eb;
out << nl << "__is.startReadSlice();";
iter = 0;
@@ -2079,7 +2079,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
out << sb;
out << nl << "if(__rid)";
out << sb;
- out << nl << "String myId = __inS.readString();";
+ out << nl << "__inS.readString();";
out << eb;
out << nl << "__inS.startSlice();";
iter = 0;