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 1343358: Uninitialized scalar field
Date Mon, 08 May 2017 17:47:42 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  7bb88a1   coverity 1343358: Uninitialized scalar field
7bb88a1 is described below

commit 7bb88a1b8836329dbf2df750488c042dbbc029a5
Author: Bryan Call <bcall@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" <commits@trafficserver.apache.org>'].

Mime
View raw message