From: Arun Prakash Jana Date: Sun, 10 Mar 2019 08:53:18 +0000 (+0530) Subject: Fix build break X-Git-Tag: v2.4~49 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=59db99f75da4093e3d03daa9a7b51f33ae2878b9;p=nnn.git Fix build break --- diff --git a/src/nnn.c b/src/nnn.c index 883a2508..c2600262 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -974,19 +974,18 @@ static bool initcurses(void) return TRUE; } -/* NOTE: There's no NULL check here */ - +/* No NULL check here as spawn() guards against it */ static int parseargs(char *line, char **argv) { int count = 0; argv[count++] = line; - while (*line) { + while (*line) { // NOLINT if (isblank(*line)) { *line++ = '\0'; - if (!*line) + if (!*line) // NOLINT return count; argv[count++] = line;