patch 8.1.2379: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
diff --git a/src/findfile.c b/src/findfile.c
index ddb4d10..dba547d 100644
--- a/src/findfile.c
+++ b/src/findfile.c
@@ -968,7 +968,7 @@
{
if (!path_with_url(stackp->ffs_filearray[i])
&& !mch_isdir(stackp->ffs_filearray[i]))
- continue; /* not a directory */
+ continue; // not a directory
// prepare the filename to be checked for existence
// below
@@ -2690,7 +2690,7 @@
char_u saved_char;
stat_T st;
- /* Don't strip for an erroneous file name. */
+ // Don't strip for an erroneous file name.
if (!stripping_disabled)
{
// If the preceding component does not exist in the file
@@ -2827,7 +2827,7 @@
p = tv_get_string(&argvars[0]);
rettv->vval.v_string = vim_strsave(p);
- simplify_filename(rettv->vval.v_string); /* simplify in place */
+ simplify_filename(rettv->vval.v_string); // simplify in place
rettv->v_type = VAR_STRING;
}
#endif // FEAT_EVAL