Fixed a gcc warning
This commit is contained in:
parent
0872f80d97
commit
773db54d21
1 changed files with 0 additions and 2 deletions
|
|
@ -633,7 +633,6 @@ public:
|
||||||
OPTION__
|
OPTION__
|
||||||
(report_t, pager_,
|
(report_t, pager_,
|
||||||
CTOR(report_t, pager_) {
|
CTOR(report_t, pager_) {
|
||||||
#if 1
|
|
||||||
if (! std::getenv("PAGER")) {
|
if (! std::getenv("PAGER")) {
|
||||||
bool have_less = false;
|
bool have_less = false;
|
||||||
if (exists(path("/opt/local/bin/less")) ||
|
if (exists(path("/opt/local/bin/less")) ||
|
||||||
|
|
@ -646,7 +645,6 @@ public:
|
||||||
setenv("LESS", "--quit-if-one-screen -R", 0);
|
setenv("LESS", "--quit-if-one-screen -R", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
virtual void on_with(const optional<string>& whence, const value_t& text) {
|
virtual void on_with(const optional<string>& whence, const value_t& text) {
|
||||||
string cmd(text.to_string());
|
string cmd(text.to_string());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue