diff options
Diffstat (limited to 'fly-tools')
-rw-r--r-- | fly-tools/FlyTrackingMain.cpp | 7 | ||||
-rw-r--r-- | fly-tools/filter/main.cpp | 6 |
2 files changed, 2 insertions, 11 deletions
diff --git a/fly-tools/FlyTrackingMain.cpp b/fly-tools/FlyTrackingMain.cpp index 446cc96..76dfa5c 100644 --- a/fly-tools/FlyTrackingMain.cpp +++ b/fly-tools/FlyTrackingMain.cpp @@ -1918,12 +1918,7 @@ int main(int argc, char **argv) break; } - - if(verbose) { - output = &cout; - } else { - output = &nullLog; - } + (verbose) ? output = &cout : output = &nullLog; *output << "verbose logging out" << endl; diff --git a/fly-tools/filter/main.cpp b/fly-tools/filter/main.cpp index 20073a8..5b3bfbf 100644 --- a/fly-tools/filter/main.cpp +++ b/fly-tools/filter/main.cpp @@ -71,11 +71,7 @@ int main(int argc, char* argv[]) { exit(EXIT_FAILURE); } - if(verbose) { - output = &cout; - } else { - output = &nullLog; - } + (verbose) ? output = &cout : output = &nullLog; *output << "Verbose logging enabled" << endl; |