Problem: Compiler warning for variable set but not used.
Solution: Move tilde_file inside #ifdef. (Hirohito Higashi, closes #3255)
int resultlen;
buf_T *buf;
int valid = VALID_HEAD + VALID_PATH; /* assume valid result */
- int tilde_file = FALSE;
int spec_idx;
#ifdef FEAT_MODIFY_FNAME
+ int tilde_file = FALSE;
int skip_mod = FALSE;
#endif
char_u strbuf[30];
else
{
result = curbuf->b_fname;
+#ifdef FEAT_MODIFY_FNAME
tilde_file = STRCMP(result, "~") == 0;
+#endif
}
break;
else
{
result = buf->b_fname;
+#ifdef FEAT_MODIFY_FNAME
tilde_file = STRCMP(result, "~") == 0;
+#endif
}
}
break;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 217,
/**/
216,
/**/