You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2017/05/25 15:56:00 UTC

[trafficserver] branch master updated: coverity 1224618: Uninitialized scalar field

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  560148b   coverity 1224618: Uninitialized scalar field
560148b is described below

commit 560148b0f2c5cced47d3f33d425ddf5d67940c0b
Author: Bryan Call <bc...@apache.org>
AuthorDate: Mon May 15 16:37:46 2017 -0400

    coverity 1224618: Uninitialized scalar field
---
 proxy/ProxyClientSession.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/ProxyClientSession.h b/proxy/ProxyClientSession.h
index 0c84ce1..ee6f1aa 100644
--- a/proxy/ProxyClientSession.h
+++ b/proxy/ProxyClientSession.h
@@ -226,8 +226,8 @@ public:
   /// DNS resolution preferences.
   HostResStyle host_res_style = HOST_RES_IPV4;
 
-  ink_hrtime ssn_start_time;
-  ink_hrtime ssn_last_txn_time;
+  ink_hrtime ssn_start_time    = 0;
+  ink_hrtime ssn_last_txn_time = 0;
 
 protected:
   // XXX Consider using a bitwise flags variable for the following flags, so

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