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 8a2ec699b6 Fix CID 1559182 from Coverity (#11661)
8a2ec699b6 is described below
commit 8a2ec699b6f784a6843dee15990a024bb660336a
Author: JosiahWI <[email protected]>
AuthorDate: Thu Aug 8 20:11:34 2024 -0500
Fix CID 1559182 from Coverity (#11661)
---
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 39cd8714d7..4af3d3c05e 100644
--- a/src/iocore/cache/StripeSM.cc
+++ b/src/iocore/cache/StripeSM.cc
@@ -1140,7 +1140,7 @@ StripeSM::agg_wrap()
Metrics::Counter::increment(stripe->cache_vol->vol_rsb.directory_wrap);
Note("Cache volume %d on disk '%s' wraps around",
stripe->cache_vol->vol_number, stripe->hash_text.get());
}
- ink_assert(this->mutex->thread_holding = this_ethread());
+ ink_assert(this->mutex->thread_holding == this_ethread());
periodic_scan(this);
}