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/05/08 17:47:42 UTC

[trafficserver] branch master updated: coverity 1343358: Uninitialized scalar 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  7bb88a1   coverity 1343358: Uninitialized scalar field
7bb88a1 is described below

commit 7bb88a1b8836329dbf2df750488c042dbbc029a5
Author: Bryan Call <bc...@apache.org>
AuthorDate: Mon May 8 11:42:09 2017 -0400

    coverity 1343358: Uninitialized scalar field
---
 plugins/experimental/memcache/tsmemcache.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/plugins/experimental/memcache/tsmemcache.h b/plugins/experimental/memcache/tsmemcache.h
index 5002e00..2c8db07 100644
--- a/plugins/experimental/memcache/tsmemcache.h
+++ b/plugins/experimental/memcache/tsmemcache.h
@@ -80,16 +80,18 @@ struct MCCacheHeader {
 };
 
 struct MCAccept : public Continuation {
-  int accept_port;
 #ifndef HAVE_TLS
   ProxyAllocator *theMCThreadAllocator;
 #endif
+  int accept_port;
   int main_event(int event, void *netvc);
 
   MCAccept()
+    :
 #ifndef HAVE_TLS
-    : theMCThreadAllocator(NULL)
+      theMCThreadAllocator(NULL),
 #endif
+      accept_port(0)
   {
     SET_HANDLER(&MCAccept::main_event);
   }

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