diff options
author | Anatol Belski <ab@php.net> | 2014-10-02 13:48:26 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-03 19:23:32 +0200 |
commit | 55c6737b7374b308f1636ddff3a7914f440ce3ac (patch) | |
tree | b539550b7da8d74f95af75b8d3c1bb7c870bde5d /TSRM | |
parent | bd9a234645772a4f3116b3c4f1d5a83efb158d80 (diff) | |
download | php-git-55c6737b7374b308f1636ddff3a7914f440ce3ac.tar.gz |
remove misprint parentheses
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index b6ac4231ee..faa186a1bb 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -605,13 +605,13 @@ TSRM_API int shmget(int key, int size, int flags) shm_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_segment); info_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_info); - if ((!shm_handle && !info_handle)) { + if (!shm_handle && !info_handle) { if (flags & IPC_CREAT) { shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size, shm_segment); info_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(shm->descriptor), shm_info); created = TRUE; } - if ((!shm_handle || !info_handle)) { + if (!shm_handle || !info_handle) { return -1; } } else { |