Enable -Wconversion: Passing-by: Remove dead code (MACOS_CONVERT).

MacOS (pre Mac OS X) is not supported anymore.
This commit is contained in:
Eliseo Martínez
2015-02-11 18:46:00 +01:00
committed by Justin M. Keyes
parent 7a7c933b86
commit 690e43b461
6 changed files with 0 additions and 89 deletions

View File

@@ -578,16 +578,6 @@ unix_expandpath (
if (*path_end != NUL)
backslash_halve(buf + len + 1);
if (os_file_exists(buf)) { /* add existing file */
#ifdef MACOS_CONVERT
size_t precomp_len = STRLEN(buf)+1;
char_u *precomp_buf =
mac_precompose_path(buf, precomp_len, &precomp_len);
if (precomp_buf) {
memmove(buf, precomp_buf, precomp_len);
free(precomp_buf);
}
#endif
addfile(gap, buf, flags);
}
}