diff options
author | Anatol Belski <ab@php.net> | 2016-09-01 22:36:03 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-09-01 23:45:31 +0200 |
commit | 0382a64fdff04207480586ad8ec1a0b0f47fc46e (patch) | |
tree | 2d70d0f28d808ea26d5bb90eda0b569904c39133 /Zend/zend_virtual_cwd.c | |
parent | ac82a3418507b7f292783c7281cadf3388b9db0b (diff) | |
download | php-git-0382a64fdff04207480586ad8ec1a0b0f47fc46e.tar.gz |
remove unused assignment
Diffstat (limited to 'Zend/zend_virtual_cwd.c')
-rw-r--r-- | Zend/zend_virtual_cwd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c index be2dd0da57..09b9137ce4 100644 --- a/Zend/zend_virtual_cwd.c +++ b/Zend/zend_virtual_cwd.c @@ -921,7 +921,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i wchar_t * reparsetarget; BOOL isVolume = FALSE; char *printname = NULL, *substitutename = NULL; - int printname_len, substitutename_len; + int substitutename_len; int substitutename_off = 0; if(++(*ll) > LINK_MAX) { @@ -956,7 +956,6 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) { reparsetarget = pbuffer->SymbolicLinkReparseBuffer.ReparseTarget; - printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); isabsolute = (pbuffer->SymbolicLinkReparseBuffer.Flags == 0) ? 1 : 0; printname = php_win32_ioutil_w_to_any(reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR)); if (!printname) { @@ -979,7 +978,6 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) { isabsolute = 1; reparsetarget = pbuffer->MountPointReparseBuffer.ReparseTarget; - printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); printname = php_win32_ioutil_w_to_any(reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR)); if (!printname) { free_alloca(pbuffer, use_heap_large); |