zipomatic: Fix PVS 1103
Fix 'status' is assigned values twice successively. Change-Id: I348799db32342f0642dac89a62a518d21ef11c34 Reviewed-on: https://review.haiku-os.org/761 Reviewed-by: Barrett17 <[email protected]>
This commit is contained in:
@@ -387,7 +387,6 @@ ZipperThread::InterruptExternalZip()
|
|||||||
status_t status = get_thread_info(fZipProcess, &info);
|
status_t status = get_thread_info(fZipProcess, &info);
|
||||||
|
|
||||||
if (status == B_OK && !strcmp(info.name, "zip")) {
|
if (status == B_OK && !strcmp(info.name, "zip")) {
|
||||||
status = B_OK;
|
|
||||||
status = send_signal(fZipProcess, SIGINT);
|
status = send_signal(fZipProcess, SIGINT);
|
||||||
WaitOnExternalZip();
|
WaitOnExternalZip();
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user