* 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:
		| @@ -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> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user