trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [trafficserver] 03/05: TS-4605: fix Coverity issue 1357058
Date Fri, 04 Nov 2016 14:44:31 GMT
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 94eeefa1518fe06f50fe4df2efdf79eef70940fc
Author: Masaori Koshiba <masaori@apache.org>
AuthorDate: Wed Jun 29 14:08:41 2016 +0900

    TS-4605: fix Coverity issue 1357058
    
    (cherry picked from commit e1a37058fc14646f517c304b6d277c788a9c0462)
---
 lib/ts/PriorityQueue.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ts/PriorityQueue.h b/lib/ts/PriorityQueue.h
index 6b9f821..e7fc21a 100644
--- a/lib/ts/PriorityQueue.h
+++ b/lib/ts/PriorityQueue.h
@@ -29,7 +29,7 @@
 
 template <typename T> struct PriorityQueueEntry {
   PriorityQueueEntry(T n) : index(0), node(n){};
-  PriorityQueueEntry() : index(0){};
+  PriorityQueueEntry() : index(0), node(NULL){};
   uint32_t index;
   T node;
 };

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

Mime
View raw message