diff options
author | Christopher Faylor <me@cgf.cx> | 2012-07-02 19:42:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-07-02 19:42:34 +0000 |
commit | e14a5a7efa4350fd75a0c8db65461d8d12a13b17 (patch) | |
tree | 15ba3ab6283d6e3f35e8aa280d16f7cb2c9c4092 /winsup/cygwin/mount.cc | |
parent | fade1f2e21fcbd4b55f45ec3d2a778e645763e34 (diff) | |
download | cygnal-e14a5a7efa4350fd75a0c8db65461d8d12a13b17.tar.gz cygnal-e14a5a7efa4350fd75a0c8db65461d8d12a13b17.tar.bz2 cygnal-e14a5a7efa4350fd75a0c8db65461d8d12a13b17.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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; |