Permalink
Browse files

THRIFT-1036 Auto-generated C++ code fails to compile with "-Werror -W…

…extra -Wall" g++ compiler flags

Patch: Pavlin Radoslavov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062352 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent afb0c7f commit a99c7505e082b867c87b3e32db1a8a054742bdea @bufferoverflow bufferoverflow committed Jan 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/cpp/src/generate/t_cpp_generator.cc
@@ -2102,7 +2102,7 @@ void t_cpp_generator::generate_service_client(t_service* tservice, string style)
indent() << "}" << endl;
if (!gen_no_client_completion_) {
f_header_ <<
- indent() << "virtual void completed__(bool success) {}" << endl;
+ indent() << "virtual void completed__(bool /* success */) {}" << endl;
}
}

0 comments on commit a99c750

Please sign in to comment.