You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/05/11 13:53:41 UTC
[trafficserver] branch 9.0.x updated: gcc10: fixed clearing an
object of non-trivial type for wccp
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new a5cb63b gcc10: fixed clearing an object of non-trivial type for wccp
a5cb63b is described below
commit a5cb63bcb539046cb2e687ab107c401e0a7de965
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed May 6 10:54:25 2020 -0700
gcc10: fixed clearing an object of non-trivial type for wccp
(cherry picked from commit 4638ddcc2848da53b94f8678d22057d8efda8df3)
---
src/wccp/WccpLocal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wccp/WccpLocal.h b/src/wccp/WccpLocal.h
index c3329d2..2b704f8 100644
--- a/src/wccp/WccpLocal.h
+++ b/src/wccp/WccpLocal.h
@@ -3486,7 +3486,7 @@ AssignInfoComp::bucket(int idx) const
}
inline RouterViewComp::RouterViewComp() : m_cache_count(0)
{
- memset(m_cache_ids, 0, sizeof(m_cache_ids));
+ ink_zero(m_cache_ids);
}
inline CapComp::CapComp() {}