Parcourir la source

Fix build break

master
Arun Prakash Jana il y a 6 ans
Parent
révision
59db99f75d
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: A75979F35C080412
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. +3
    -4
      src/nnn.c

+ 3
- 4
src/nnn.c Voir le fichier

@@ -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;


Chargement…
Annuler
Enregistrer