trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: coverity 1021743: Uninitialized members
Date Thu, 19 Oct 2017 22:26:43 GMT
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 <bcall@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" <commits@trafficserver.apache.org>'].

Mime
View raw message