1
0
Fork 0

fixed compiler warning

This commit is contained in:
Jan Steemann 2014-03-03 19:25:42 +01:00
parent d82a94b020
commit 9cdd453043
1 changed files with 1 additions and 1 deletions

View File

@ -1015,6 +1015,7 @@ static bool ourKillProcess(DWORD pid) {
bool TRI_KillExternalProcess (TRI_external_id_t pid) {
TRI_external_t* external;
size_t i;
bool ok = true;
TRI_LockMutex(&ExternalProcessesLock);
@ -1032,7 +1033,6 @@ bool TRI_KillExternalProcess (TRI_external_id_t pid) {
return ourKillProcess(pid._pid);
}
bool ok = true;
if (external->_status == TRI_EXT_RUNNING ||
external->_status == TRI_EXT_STOPPED) {
ok = ourKillProcess(external->_pid);