[haiku-commits] haiku: hrev52641 - src/add-ons/tracker/zipomatic

  • From: Barrett17 <b.vitruvio@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 12 Dec 2018 16:32:00 -0500 (EST)

hrev52641 adds 1 changeset to branch 'master'
old head: b6766af3e6061e6a5cd0f6d206998b0c6a685bf8
new head: 382eca52a20217f8d749beafbc518d69267d4715
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=382eca52a202+%5Eb6766af3e606

----------------------------------------------------------------------------

382eca52a202: 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 <b.vitruvio@xxxxxxxxx>

                                      [ Murai Takashi <tmurai01@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52641
Commit:      382eca52a20217f8d749beafbc518d69267d4715
URL:         https://git.haiku-os.org/haiku/commit/?id=382eca52a202
Author:      Murai Takashi <tmurai01@xxxxxxxxx>
Date:        Wed Dec 12 21:08:34 2018 UTC
Committer:   Barrett17 <b.vitruvio@xxxxxxxxx>
Commit-Date: Wed Dec 12 21:31:56 2018 UTC

----------------------------------------------------------------------------

1 file changed, 1 deletion(-)
src/add-ons/tracker/zipomatic/ZipperThread.cpp | 1 -

----------------------------------------------------------------------------

diff --git a/src/add-ons/tracker/zipomatic/ZipperThread.cpp 
b/src/add-ons/tracker/zipomatic/ZipperThread.cpp
index 2a6c690ffd..bacfc5c911 100644
--- a/src/add-ons/tracker/zipomatic/ZipperThread.cpp
+++ b/src/add-ons/tracker/zipomatic/ZipperThread.cpp
@@ -387,7 +387,6 @@ ZipperThread::InterruptExternalZip()
        status_t status = get_thread_info(fZipProcess, &info);
 
        if (status == B_OK && !strcmp(info.name, "zip")) {
-               status = B_OK;
                status = send_signal(fZipProcess, SIGINT);
                WaitOnExternalZip();
                return status;


Other related posts:

  • » [haiku-commits] haiku: hrev52641 - src/add-ons/tracker/zipomatic - Barrett17