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/07/27 21:17:58 UTC

[trafficserver] branch master updated: coverity 1376260: Uninitialized pointer field

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 482b3a8  coverity 1376260: Uninitialized pointer field
482b3a8 is described below

commit 482b3a87d9a89fdf4b72488c49558ade4d3499bc
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu Jul 27 10:20:05 2017 -0700

    coverity 1376260: Uninitialized pointer field
---
 iocore/eventsystem/UnixEventProcessor.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index 8a7b27f..aa3f35d 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -63,8 +63,8 @@ protected:
 
 private:
   hwloc_obj_type_t obj_type;
-  int obj_count = 0;
-  char const *obj_name;
+  int obj_count        = 0;
+  char const *obj_name = nullptr;
 #endif
 };
 

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