commit | 585b7b804498e207280a378c52eb7056174bf846 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Wed Oct 24 21:12:47 2012 +0000 |
committer | Roger Meier <roger@apache.org> | Wed Oct 24 21:12:47 2012 +0000 |
tree | a831b9ea2963cb479f2eff118fc35bd2d6df1edb | |
parent | d836afcb94e708559b258eb8d7110fcc04a7a59e [diff] |
remove unused variable git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401884 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp index 6b7e974..ba71caa 100644 --- a/tutorial/cpp/CppClient.cpp +++ b/tutorial/cpp/CppClient.cpp
@@ -58,7 +58,7 @@ 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());