summaryrefslogtreecommitdiff
path: root/cpp/rubygen
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/rubygen')
-rwxr-xr-xcpp/rubygen/templates/MethodHolder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/templates/MethodHolder.rb b/cpp/rubygen/templates/MethodHolder.rb
index a99270055f..65fa824fd4 100755
--- a/cpp/rubygen/templates/MethodHolder.rb
+++ b/cpp/rubygen/templates/MethodHolder.rb
@@ -22,7 +22,7 @@ class MethodHolderGen < CppGen
genl "using namespace std;"
genl "using namespace qpid::framing;"
genl
- scope("int main(int argc, char** argv) {") {
+ scope("int main(int, char** argv) {") {
genl "size_t maxSize=0;"
@amqp.amqp_methods.each { |m|
genl "maxSize=max(maxSize, sizeof(#{m.body_name}));" }