* 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.
This commit is contained in:
Christopher Faylor 2012-07-02 19:42:34 +00:00
parent fade1f2e21
commit e14a5a7efa
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,12 @@
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx> 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> 2012-07-02 Corinna Vinschen <corinna@vinschen.de>

View File

@ -648,7 +648,6 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
if (!src_path[n]) if (!src_path[n])
{ {
unit = 0;
dst[0] = '\0'; dst[0] = '\0';
if (mount_table->cygdrive_len > 1) if (mount_table->cygdrive_len > 1)
dev = *cygdrive_dev; dev = *cygdrive_dev;