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:
Roger Meier 2012-10-24 21:12:47 +00:00
parent d836afcb94
commit 585b7b8044

View File

@ -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());