summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-16 16:55:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-16 16:55:18 -0400
commitd0a664d102bb0886dbaf844b6857749f70702ea3 (patch)
tree4994ad85c9c743ed13346ba94daea47a389a9bfd /src/report.h
parent32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff)
downloadfork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz
fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2
fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip
Fixed several unused value and param warnings
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h
index e77ba1a4..63c92ebe 100644
--- a/src/report.h
+++ b/src/report.h
@@ -142,7 +142,7 @@ public:
return false;
}
- value_t fn_options(call_scope_t& scope) {
+ value_t fn_options(call_scope_t&) {
return value_t(static_cast<scope_t *>(this));
}
@@ -152,7 +152,7 @@ public:
return option.str();
}
- value_t reload_command(call_scope_t& scope) {
+ value_t reload_command(call_scope_t&) {
session.close_journal_files();
session.read_journal_files();
return true;
@@ -478,9 +478,9 @@ public:
OPTION(report_t, totals);
- OPTION_(report_t, truncate_, DO_(args) {
+ OPTION_(report_t, truncate_, DO() {
#if 0
- std::string style(optarg);
+ string style(args[0].to_string());
if (style == "leading")
format_t::elision_style = format_t::TRUNCATE_LEADING;
else if (style == "middle")