This is an automated email from the ASF dual-hosted git repository. bcall 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 2b132c2 coverity 1021765: Uninitialized pointer field 2b132c2 is described below commit 2b132c22bcc039dffb9230ea49b7a1da5a88dfbe Author: Bryan Call <bc...@apache.org> AuthorDate: Tue May 9 12:05:49 2017 -0400 coverity 1021765: Uninitialized pointer field --- iocore/cache/CachePagesInternal.cc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/iocore/cache/CachePagesInternal.cc b/iocore/cache/CachePagesInternal.cc index 7cf8de1..069baa0 100644 --- a/iocore/cache/CachePagesInternal.cc +++ b/iocore/cache/CachePagesInternal.cc @@ -27,10 +27,10 @@ #include "I_Tasks.h" struct ShowCacheInternal : public ShowCont { - int vol_index; - int seg_index; + int vol_index = 0; + int seg_index = 0; CacheKey show_cache_key; - CacheVC *cache_vc; + CacheVC *cache_vc = nullptr; int showMain(int event, Event *e); int showEvacuations(int event, Event *e); @@ -44,10 +44,7 @@ struct ShowCacheInternal : public ShowCont { int showVolConnections(int event, Event *e); #endif - ShowCacheInternal(Continuation *c, HTTPHdr *h) : ShowCont(c, h), vol_index(0), seg_index(0) - { - SET_HANDLER(&ShowCacheInternal::showMain); - } + ShowCacheInternal(Continuation *c, HTTPHdr *h) : ShowCont(c, h) { SET_HANDLER(&ShowCacheInternal::showMain); } ~ShowCacheInternal() override {} }; -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].