Commit 25a20a3a authored by Juanma Barranquero's avatar Juanma Barranquero

src/w32.c: Silence compiler warnings.

(map_w32_filename): Remove unused variable `is_fat'.
(chase_symlinks): Add parentheses around expression.
parent f91b35be
2012-08-06 Juanma Barranquero <lekktu@gmail.com>
* w32.c: Silence compiler warnings.
(map_w32_filename): Remove unused variable `is_fat'.
(chase_symlinks): Add parentheses around expression.
2012-08-06 Glenn Morris <rgm@gnu.org>
* sysdep.c: Respect BROKEN_GETWD.
......
......@@ -2395,7 +2395,6 @@ map_w32_filename (const char * name, const char ** pPath)
char c;
char * path;
const char * save_name = name;
int is_fat = 0;
if (strlen (name) >= MAX_PATH)
{
......@@ -4433,7 +4432,7 @@ chase_symlinks (const char *file)
{
target[res] = '\0';
if (!(IS_DEVICE_SEP (target[1])
|| IS_DIRECTORY_SEP (target[0]) && IS_DIRECTORY_SEP (target[1])))
|| (IS_DIRECTORY_SEP (target[0]) && IS_DIRECTORY_SEP (target[1]))))
{
/* Target is relative. Append it to the directory part of
the symlink, then copy the result back to target. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment