remove unused variable
authorRoger Meier <roger@apache.org>
Wed, 24 Oct 2012 21:12:47 +0000 (21:12 +0000)
committerRoger 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

index 6b7e974..ba71caa 100644 (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());