summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-28 02:30:17 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-28 02:30:17 -0400
commit773db54d21772e0c4f76f669f89f51a201cc6261 (patch)
treed7f821f352bcb44c754a356625e40a2724ebf2d5 /src/report.h
parent0872f80d97fd7d4330e8cc4d0b88bbe2170e5eb1 (diff)
downloadfork-ledger-773db54d21772e0c4f76f669f89f51a201cc6261.tar.gz
fork-ledger-773db54d21772e0c4f76f669f89f51a201cc6261.tar.bz2
fork-ledger-773db54d21772e0c4f76f669f89f51a201cc6261.zip
Fixed a gcc warning
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index 6d63a0e9..294af19a 100644
--- a/src/report.h
+++ b/src/report.h
@@ -633,7 +633,6 @@ public:
OPTION__
(report_t, pager_,
CTOR(report_t, pager_) {
-#if 1
if (! std::getenv("PAGER")) {
bool have_less = false;
if (exists(path("/opt/local/bin/less")) ||
@@ -646,7 +645,6 @@ public:
setenv("LESS", "--quit-if-one-screen -R", 0);
}
}
-#endif
}
virtual void on_with(const optional<string>& whence, const value_t& text) {
string cmd(text.to_string());