You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/11/04 14:44:31 UTC

[trafficserver] 03/05: TS-4605: fix Coverity issue 1357058

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 <ma...@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" <co...@trafficserver.apache.org>.