* pinfo.cc (_pinfo::commune_request): Eliminate unneeded assignment found by
Clang.
This commit is contained in:
parent
fb348d22af
commit
e9d7f5b3a9
|
@ -1,3 +1,8 @@
|
||||||
|
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
|
* pinfo.cc (_pinfo::commune_request): Eliminate unneeded assignment
|
||||||
|
found by Clang.
|
||||||
|
|
||||||
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
|
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
* external.cc (fillout_pinfo): Return NULL rather than 0.
|
* external.cc (fillout_pinfo): Return NULL rather than 0.
|
||||||
|
|
|
@ -655,7 +655,6 @@ _pinfo::commune_request (__uint32_t code, ...)
|
||||||
HANDLE& hp = si._si_commune._si_process_handle;
|
HANDLE& hp = si._si_commune._si_process_handle;
|
||||||
HANDLE& fromthem = si._si_commune._si_read_handle;
|
HANDLE& fromthem = si._si_commune._si_read_handle;
|
||||||
HANDLE request_sync = NULL;
|
HANDLE request_sync = NULL;
|
||||||
bool locked = false;
|
|
||||||
|
|
||||||
res.s = NULL;
|
res.s = NULL;
|
||||||
res.n = 0;
|
res.n = 0;
|
||||||
|
@ -682,7 +681,6 @@ _pinfo::commune_request (__uint32_t code, ...)
|
||||||
}
|
}
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
locked = true;
|
|
||||||
char name_buf[MAX_PATH];
|
char name_buf[MAX_PATH];
|
||||||
request_sync = CreateSemaphore (&sec_none_nih, 0, LONG_MAX,
|
request_sync = CreateSemaphore (&sec_none_nih, 0, LONG_MAX,
|
||||||
shared_name (name_buf, "commune", myself->pid));
|
shared_name (name_buf, "commune", myself->pid));
|
||||||
|
|
Loading…
Reference in New Issue