mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401884 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d836afcb94
commit
585b7b8044
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user