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 2011/01/23 10:35:45 UTC

svn commit: r1062352 - /thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc

Author: roger
Date: Sun Jan 23 09:35:45 2011
New Revision: 1062352

URL: http://svn.apache.org/viewvc?rev=1062352&view=rev
Log:
THRIFT-1036 Auto-generated C++ code fails to compile with "-Werror -Wextra -Wall" g++ compiler flags
Patch: Pavlin Radoslavov

Modified:
    thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc

Modified: thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc?rev=1062352&r1=1062351&r2=1062352&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc Sun Jan 23 09:35:45 2011
@@ -2102,7 +2102,7 @@ void t_cpp_generator::generate_service_c
       indent() << "}" << endl;
     if (!gen_no_client_completion_) {
       f_header_ <<
-        indent() << "virtual void completed__(bool success) {}" << endl;
+        indent() << "virtual void completed__(bool /* success */) {}" << endl;
     }
   }