diff options
author | Christopher Faylor <me@cgf.cx> | 2012-07-02 19:55:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-07-02 19:55:51 +0000 |
commit | e9d7f5b3a9c2cac10d720631b40f610be441daa9 (patch) | |
tree | 5e77762f48e5ec3823eefff73cbc40468a3e7dc1 /winsup/cygwin/pinfo.cc | |
parent | fb348d22afc85a2dfba80c3059391e8bc276e9ca (diff) | |
download | cygnal-e9d7f5b3a9c2cac10d720631b40f610be441daa9.tar.gz cygnal-e9d7f5b3a9c2cac10d720631b40f610be441daa9.tar.bz2 cygnal-e9d7f5b3a9c2cac10d720631b40f610be441daa9.zip |
* pinfo.cc (_pinfo::commune_request): Eliminate unneeded assignment found by
Clang.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index c9a7b413e..eb4923e9b 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -655,7 +655,6 @@ _pinfo::commune_request (__uint32_t code, ...) HANDLE& hp = si._si_commune._si_process_handle; HANDLE& fromthem = si._si_commune._si_read_handle; HANDLE request_sync = NULL; - bool locked = false; res.s = NULL; res.n = 0; @@ -682,7 +681,6 @@ _pinfo::commune_request (__uint32_t code, ...) } va_end (args); - locked = true; char name_buf[MAX_PATH]; request_sync = CreateSemaphore (&sec_none_nih, 0, LONG_MAX, shared_name (name_buf, "commune", myself->pid)); |