summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.cc3
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 <me.cygwin2012@cgf.cx>
+
+ * path.cc (symlink_info::check): Remove unneeded/unused variable.
+
2012-07-02 Corinna Vinschen <corinna@vinschen.de>
* 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