Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-07-02 23:42:34 +0400
committerChristopher Faylor <me@cgf.cx>2012-07-02 23:42:34 +0400
commite14a5a7efa4350fd75a0c8db65461d8d12a13b17 (patch)
tree15ba3ab6283d6e3f35e8aa280d16f7cb2c9c4092
parentfade1f2e21fcbd4b55f45ec3d2a778e645763e34 (diff)
* mount.cc (mount_info::conv_to_win32_path): Eliminate unneeded assignment
found by CLANG. * path.cc (symlink_info::check): Remove unneeded/unused variable found by CLANG.
-rw-r--r--winsup/cygwin/ChangeLog8
-rw-r--r--winsup/cygwin/mount.cc1
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3514580f8..5ff6fab88 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,6 +1,12 @@
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
- * path.cc (symlink_info::check): Remove unneeded/unused variable.
+ * mount.cc (mount_info::conv_to_win32_path): Eliminate unneeded
+ assignment found by CLANG.
+
+2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
+
+ * path.cc (symlink_info::check): Remove unneeded/unused variable found
+ by CLANG.
2012-07-02 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index a661b8731..17d9a45fa 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -648,7 +648,6 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
if (!src_path[n])
{
- unit = 0;
dst[0] = '\0';
if (mount_table->cygdrive_len > 1)
dev = *cygdrive_dev;