You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/05/10 12:13:09 UTC
[trafficserver] branch master updated: CV-1241998: Fix unitialized
member in NumericType
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 <am...@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" <co...@trafficserver.apache.org>'].