You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2012/10/24 23:12:48 UTC

svn commit: r1401884 - /thrift/trunk/tutorial/cpp/CppClient.cpp

Author: roger
Date: Wed Oct 24 21:12:47 2012
New Revision: 1401884

URL: http://svn.apache.org/viewvc?rev=1401884&view=rev
Log:
remove unused variable

Modified:
    thrift/trunk/tutorial/cpp/CppClient.cpp

Modified: thrift/trunk/tutorial/cpp/CppClient.cpp
URL: http://svn.apache.org/viewvc/thrift/trunk/tutorial/cpp/CppClient.cpp?rev=1401884&r1=1401883&r2=1401884&view=diff
==============================================================================
--- thrift/trunk/tutorial/cpp/CppClient.cpp (original)
+++ thrift/trunk/tutorial/cpp/CppClient.cpp Wed Oct 24 21:12:47 2012
@@ -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());