trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [trafficserver] branch master updated: CV-1241998: Fix unitialized member in NumericType
Date Wed, 10 May 2017 12:13:09 GMT
This is an automated email from the ASF dual-hosted git repository.

amc 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  7d446fb   CV-1241998: Fix unitialized member in NumericType
7d446fb is described below

commit 7d446fbaeb182d3d8691679dd743b4bbeaf68cfa
Author: Alan M. Carroll <amc@apache.org>
AuthorDate: Tue May 9 10:17:06 2017 -0500

    CV-1241998: Fix unitialized member in NumericType
---
 lib/tsconfig/NumericType.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tsconfig/NumericType.h b/lib/tsconfig/NumericType.h
index 8d6387b..d8bf41c 100644
--- a/lib/tsconfig/NumericType.h
+++ b/lib/tsconfig/NumericType.h
@@ -149,11 +149,11 @@ public:
     self operator --(int);
 
 private:
-    // coverity[uninit_member]
     raw_type   _t;
 };
 
 // Method definitions.
+// coverity[uninit_ctor]
 template < typename T, typename X > NumericType<T,X>::NumericType() { }
 template < typename T, typename X > NumericType<T,X>::NumericType(raw_type const
t) : _t(t) { }
 template < typename T, typename X > NumericType<T,X>& NumericType<T,X>::operator
= (raw_type const t) { _t = t; return *this; }

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

Mime
View raw message