summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
commitebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 (patch)
treed017ab5fcc15f2eef851de089c3b2aef39d7a387 /src/if_cscope.c
parent3d79f0a4309995956bd8889940cca22f7a15881d (diff)
patch 9.0.1234: the code style has to be checked manuallyv9.0.1234
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index ffb1784e1b..309bddcab6 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -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)