From 7cd454287369cf3918cb31ed3d8b284eb42e257a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 23 May 2008 15:33:03 +0000 Subject: * mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to find handle based on cygwin1.dll. * path.cc (symlink_info::check): Remove unused variable. --- winsup/cygwin/path.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/path.cc') diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 102326d1e..dd7ba44b3 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2350,7 +2350,6 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, FILE_BASIC_INFORMATION fbi; NTSTATUS status; IO_STATUS_BLOCK io; - bool no_ea = false; error = 0; get_nt_native_path (suffix.path, upath, pflags & MOUNT_ENC); @@ -2374,7 +2373,6 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, /* No right to access EAs or EAs not supported? */ if (status == STATUS_ACCESS_DENIED || status == STATUS_EAS_NOT_SUPPORTED) { - no_ea = true; /* If EAs are not supported, there's no sense to check them again whith suffixes attached. So we set eabuf/easize to 0 here once. */ if (status == STATUS_EAS_NOT_SUPPORTED) -- cgit v1.2.3