From fade1f2e21fcbd4b55f45ec3d2a778e645763e34 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 2 Jul 2012 19:38:41 +0000 Subject: [PATCH] * path.cc (symlink_info::check): Remove unneeded/unused variable. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/path.cc | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a045291fa..3514580f8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-07-02 Christopher Faylor + + * path.cc (symlink_info::check): Remove unneeded/unused variable. + 2012-07-02 Corinna Vinschen * dll_init.cc (dll_list::alloc): Take long UNC paths into account. diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index ddf99f971..0a6cad76c 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2372,8 +2372,6 @@ restart: bool had_ext = !!*ext_here; while (suffix.next ()) { - bool no_ea = false; - error = 0; get_nt_native_path (suffix.path, upath, pflags & PATH_DOS); if (h) @@ -2404,7 +2402,6 @@ restart: root dir which has EAs enabled? */ || status == STATUS_INVALID_PARAMETER)) { - no_ea = true; /* If EAs are not supported, there's no sense to check them again with suffixes attached. So we set eabuf/easize to 0 here once. */ if (status == STATUS_EAS_NOT_SUPPORTED