Commit 1d471493 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: set logger flag on a single line

parent 226532a9
...@@ -1223,10 +1223,8 @@ int main(int argc, char *argv[]) { ...@@ -1223,10 +1223,8 @@ int main(int argc, char *argv[]) {
if (with_logger) e.policy &= ~engine_policy_logger; if (with_logger) e.policy &= ~engine_policy_logger;
engine_redistribute(&e); engine_redistribute(&e);
if (with_logger) { /* Turn it back on */
/* Turn it back on */ if (with_logger) e.policy |= engine_policy_logger;
e.policy |= engine_policy_logger;
}
#endif #endif
/* Initialise the particles */ /* Initialise the particles */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment