Simplify tricky preprocessor tests in ff_check_visited()

This commit is contained in:
Felipe Oliveira Carvalho 2014-04-01 00:28:00 -03:00 committed by Thiago de Arruda
parent 3843fd3469
commit 6bbffee0a5

View File

@ -1198,11 +1198,12 @@ static int ff_check_visited(ff_visited_T **visited_list, char_u *fname, char_u *
vp->ffv_fname[0] = NUL;
} else {
vp->ffv_dev_valid = FALSE;
#endif
STRCPY(vp->ffv_fname, ff_expand_buffer);
}
#else
STRCPY(vp->ffv_fname, ff_expand_buffer);
#ifdef UNIX
}
#endif
if (wc_path != NULL)
vp->ffv_wc_path = vim_strsave(wc_path);
else