commit 59db99f75da4093e3d03daa9a7b51f33ae2878b9
parent 8b1ef2d9d592487419f56b1086e34192d32094cd
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 10 Mar 2019 14:23:18 +0530
Fix build break
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git 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;