This is an automated email from the ASF dual-hosted git repository.

jvanderzee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new e8145dcb7e Fix CID 1559183 from Coverity (#11662)
e8145dcb7e is described below

commit e8145dcb7e3a12d0c05e176c2519f43cc9f8eb78
Author: JosiahWI <[email protected]>
AuthorDate: Thu Aug 8 20:11:00 2024 -0500

    Fix CID 1559183 from Coverity (#11662)
---
 src/iocore/cache/StripeSM.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/iocore/cache/StripeSM.cc b/src/iocore/cache/StripeSM.cc
index 2101229f8c..39cd8714d7 100644
--- a/src/iocore/cache/StripeSM.cc
+++ b/src/iocore/cache/StripeSM.cc
@@ -663,7 +663,7 @@ StripeSM::handle_recover_write_dir(int /* event ATS_UNUSED 
*/, void * /* data AT
   init_info = nullptr;
   set_io_not_in_progress();
   scan_pos = header->write_pos;
-  ink_assert(this->mutex->thread_holding = this_ethread());
+  ink_assert(this->mutex->thread_holding == this_ethread());
   periodic_scan(this);
   SET_HANDLER(&StripeSM::dir_init_done);
   return dir_init_done(EVENT_IMMEDIATE, nullptr);

Reply via email to