mirror of https://gitee.com/bigwinds/arangodb
fixed compiler warning
This commit is contained in:
parent
d82a94b020
commit
9cdd453043
|
@ -1015,6 +1015,7 @@ static bool ourKillProcess(DWORD pid) {
|
||||||
bool TRI_KillExternalProcess (TRI_external_id_t pid) {
|
bool TRI_KillExternalProcess (TRI_external_id_t pid) {
|
||||||
TRI_external_t* external;
|
TRI_external_t* external;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
bool ok = true;
|
||||||
|
|
||||||
TRI_LockMutex(&ExternalProcessesLock);
|
TRI_LockMutex(&ExternalProcessesLock);
|
||||||
|
|
||||||
|
@ -1032,7 +1033,6 @@ bool TRI_KillExternalProcess (TRI_external_id_t pid) {
|
||||||
return ourKillProcess(pid._pid);
|
return ourKillProcess(pid._pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ok = true;
|
|
||||||
if (external->_status == TRI_EXT_RUNNING ||
|
if (external->_status == TRI_EXT_RUNNING ||
|
||||||
external->_status == TRI_EXT_STOPPED) {
|
external->_status == TRI_EXT_STOPPED) {
|
||||||
ok = ourKillProcess(external->_pid);
|
ok = ourKillProcess(external->_pid);
|
||||||
|
|
Loading…
Reference in New Issue