Constify readonly var

This commit is contained in:
Anatol Belski 2018-02-27 20:50:37 +01:00
parent 2ec012fa2a
commit 42022bc943

View file

@ -286,7 +286,7 @@ PW32IO int php_win32_ioutil_close(int fd)
PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode) PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode)
{/*{{{*/ {/*{{{*/
size_t path_len; size_t path_len;
wchar_t *my_path; const wchar_t *my_path;
if (!path) { if (!path) {
SET_ERRNO_FROM_WIN32_CODE(ERROR_INVALID_PARAMETER); SET_ERRNO_FROM_WIN32_CODE(ERROR_INVALID_PARAMETER);