summaryrefslogtreecommitdiff
path: root/tutorial/cpp
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2012-10-24 21:12:47 +0000
committerRoger Meier <roger@apache.org>2012-10-24 21:12:47 +0000
commit585b7b804498e207280a378c52eb7056174bf846 (patch)
treea831b9ea2963cb479f2eff118fc35bd2d6df1edb /tutorial/cpp
parentd836afcb94e708559b258eb8d7110fcc04a7a59e (diff)
downloadthrift-585b7b804498e207280a378c52eb7056174bf846.tar.gz
remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/cpp')
-rw-r--r--tutorial/cpp/CppClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp
index 6b7e97440..ba71caa88 100644
--- a/tutorial/cpp/CppClient.cpp
+++ b/tutorial/cpp/CppClient.cpp
@@ -58,7 +58,7 @@ int main(int argc, char** argv) {
work.num2 = 0;
try {
- int32_t quotient = client.calculate(1, work);
+ client.calculate(1, work);
printf("Whoa? We can divide by zero!\n");
} catch (InvalidOperation &io) {
printf("InvalidOperation: %s\n", io.why.c_str());