forked from aniani/vim
patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
This commit is contained in:
@@ -1463,7 +1463,8 @@ cs_insert_filelist(
|
||||
return -1;
|
||||
}
|
||||
(void)strcpy(csinfo[i].ppath, (const char *)ppath);
|
||||
} else
|
||||
}
|
||||
else
|
||||
csinfo[i].ppath = NULL;
|
||||
|
||||
if (flags != NULL)
|
||||
@@ -1475,7 +1476,8 @@ cs_insert_filelist(
|
||||
return -1;
|
||||
}
|
||||
(void)strcpy(csinfo[i].flags, (const char *)flags);
|
||||
} else
|
||||
}
|
||||
else
|
||||
csinfo[i].flags = NULL;
|
||||
|
||||
#if defined(UNIX)
|
||||
|
Reference in New Issue
Block a user