Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d836afc
)
remove unused variable
author
Roger Meier
<roger@apache.org>
Wed, 24 Oct 2012 21:12:47 +0000
(21:12 +0000)
committer
Roger Meier
<roger@apache.org>
Wed, 24 Oct 2012 21:12:47 +0000
(21:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1401884
13f79535
-47bb-0310-9956-
ffa450edef68
tutorial/cpp/CppClient.cpp
patch
|
blob
|
history
diff --git
a/tutorial/cpp/CppClient.cpp
b/tutorial/cpp/CppClient.cpp
index
6b7e974
..
ba71caa
100644
(file)
--- 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());