summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 19:27:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 19:27:08 +0200
commitbd21176187a55fa7f6e80b5cfe86f5e756971b4f (patch)
tree8270038228a6aae80930cc927d15391e76930bb9
parent2d0146e0f548d03603a426d0796865f475e1ad4f (diff)
Fix unused argument warning
-rw-r--r--cli/source.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/source.cxx b/cli/source.cxx
index 58637c8..38df449 100644
--- a/cli/source.cxx
+++ b/cli/source.cxx
@@ -1007,7 +1007,7 @@ namespace
os << "void " << name << "::" << endl
<< "_parse (" << cli << "::scanner& s," << endl
- << um << " opt_mode," << endl
+ << um << (pfx ? " opt_mode" : "") << "," << endl
<< um << " arg_mode)"
<< "{";