diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2016-08-17 20:26:32 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2016-08-17 20:26:32 +0200 |
commit | 447e57a1e12cdcc6791302d5097119fb2165475a (patch) | |
tree | 0290c465a6be8b7f1d56288430739290247ce7e8 /TSRM | |
parent | 7f47dcf31b4e91dd3d39956721faba0410cdf14c (diff) | |
download | php-git-447e57a1e12cdcc6791302d5097119fb2165475a.tar.gz |
Fixed 7.1 build, decls first please!
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_win32.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 7015b3bbb7..b6002bea84 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -208,15 +208,14 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode) DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0; BYTE * psec_desc = NULL; BOOL fAccess = FALSE; + realpath_cache_bucket * bucket = NULL; + char * real_path = NULL; PHP_WIN32_IOUTIL_INIT_W(pathname) if (!pathw) { return -1; } - realpath_cache_bucket * bucket = NULL; - char * real_path = NULL; - if (mode == 1 /*X_OK*/) { DWORD type; int ret; |