You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2017/10/19 22:26:43 UTC

[trafficserver] branch master updated: coverity 1021743: Uninitialized members

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 c6abe37  coverity 1021743: Uninitialized members
c6abe37 is described below

commit c6abe37522c8324d3996628d9960524a9215326c
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu Oct 19 15:01:45 2017 -0700

    coverity 1021743: Uninitialized members
---
 iocore/net/P_UnixNet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/P_UnixNet.h b/iocore/net/P_UnixNet.h
index aea295a..aca4292 100644
--- a/iocore/net/P_UnixNet.h
+++ b/iocore/net/P_UnixNet.h
@@ -225,7 +225,7 @@ class NetHandler : public Continuation, public EThread::LoopTailHandler
 public:
   // @a thread and @a trigger_event are redundant - you can get the former from the latter.
   // If we don't get rid of @a trigger_event we should remove @a thread.
-  EThread *thread;
+  EThread *thread = nullptr;
   Event *trigger_event;
   QueM(UnixNetVConnection, NetState, read, ready_link) read_ready_list;
   QueM(UnixNetVConnection, NetState, write, ready_link) write_ready_list;

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].