From 447e57a1e12cdcc6791302d5097119fb2165475a Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 17 Aug 2016 20:26:32 +0200 Subject: Fixed 7.1 build, decls first please! --- TSRM/tsrm_win32.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TSRM') 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; -- cgit v1.2.1