summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlineact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-cmdlineact.cpp')
-rw-r--r--src/main-cmdlineact.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main-cmdlineact.cpp b/src/main-cmdlineact.cpp
index f5c6e52eb..03bf4083c 100644
--- a/src/main-cmdlineact.cpp
+++ b/src/main-cmdlineact.cpp
@@ -86,13 +86,12 @@ CmdLineAction::doIt (ActionContext const & context) {
bool
CmdLineAction::doList (ActionContext const & context) {
- bool hasActions = !_list.empty();
- for (std::list<CmdLineAction *>::iterator i = _list.begin();
- i != _list.end(); ++i) {
+ bool hasActions = !_list.empty();
+ for (std::list<CmdLineAction *>::iterator i = _list.begin(); i != _list.end(); ++i) {
CmdLineAction * entry = *i;
entry->doIt(context);
}
- return hasActions;
+ return hasActions;
}
bool