This is an automated email from the ASF dual-hosted git repository.

shinrich 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 00408ff  Added null value init for VConn user_args.
00408ff is described below

commit 00408ff6112567c63ba9fb90aa0c430d39559bc8
Author: dyrock <[email protected]>
AuthorDate: Fri Jan 4 22:40:07 2019 +0000

    Added null value init for VConn user_args.
---
 iocore/eventsystem/I_VConnection.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/eventsystem/I_VConnection.h 
b/iocore/eventsystem/I_VConnection.h
index 5c5b083..62f6041 100644
--- a/iocore/eventsystem/I_VConnection.h
+++ b/iocore/eventsystem/I_VConnection.h
@@ -406,7 +406,7 @@ public:
   };
 
 protected:
-  std::array<void *, TS_VCONN_MAX_USER_ARG> user_args;
+  std::array<void *, TS_VCONN_MAX_USER_ARG> user_args{nullptr};
 };
 
 struct DummyVConnection : public AnnotatedVConnection {

Reply via email to