From bd84fe202eac5c43cd3ee92fa795029d3909410b Mon Sep 17 00:00:00 2001 From: Marc Parisi Date: Tue, 2 Oct 2018 07:27:22 -0400 Subject: [PATCH] MINIFICPP-625: remove trailing and and fix some spacing issues while I'm here --- main/MiNiFiMain.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main/MiNiFiMain.cpp b/main/MiNiFiMain.cpp index 1c5bded452..a99c219bcc 100644 --- a/main/MiNiFiMain.cpp +++ b/main/MiNiFiMain.cpp @@ -57,10 +57,9 @@ sem_t *running; * Semaphores are a portable choice when using signal handlers. Threads, * mutexes, and condition variables are not guaranteed to work within * a signal handler. Consequently we will use the semaphore to avoid thread - * safety issues and. + * safety issues. */ void sigHandler(int signal) { - if (signal == SIGINT || signal == SIGTERM) { // avoid stopping the controller here. sem_post(running); @@ -99,7 +98,7 @@ int main(int argc, char **argv) { #ifndef WIN32 path = realpath(argv[0], full_path); #else - path = nullptr; + path = nullptr; #endif if (path != nullptr) {