summaryrefslogtreecommitdiff
path: root/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
commit2aff35215fbe24459aa4057d5b31ea7490046ca6 (patch)
tree6a79a3d84e352e3b3647484b0daf38b1ae6aa81f /option.cc
parent230d7fd6027d05422f4bb26e9bfb3758a9cb16ea (diff)
downloadfork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.gz
fork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.bz2
fork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.zip
Enabled a huge number of warning flags for g++ in acprep, and fixed them all
except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with.
Diffstat (limited to 'option.cc')
-rw-r--r--option.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/option.cc b/option.cc
index 54ee1851..a94a6a00 100644
--- a/option.cc
+++ b/option.cc
@@ -148,7 +148,7 @@ void process_environment(const char ** envp, const string& tag,
}
}
-void process_arguments(int argc, char ** argv, const bool anywhere,
+void process_arguments(int, char ** argv, const bool anywhere,
scope_t& scope, std::list<string>& args)
{
for (char ** i = argv; *i; i++) {