You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/05/08 12:42:27 UTC

[trafficserver] branch master updated: Fix clang-analyzer issue in HdrTest::test_mime.

This is an automated email from the ASF dual-hosted git repository.

zwoop 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 91eb204  Fix clang-analyzer issue in HdrTest::test_mime.
91eb204 is described below

commit 91eb2048c1c7e30373670475b2c9b1fd7cf76a45
Author: jrushford <jr...@apache.org>
AuthorDate: Mon May 7 15:09:00 2018 +0100

    Fix clang-analyzer issue in HdrTest::test_mime.
---
 proxy/hdrs/HdrTest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/hdrs/HdrTest.cc b/proxy/hdrs/HdrTest.cc
index b7453b2..09bd49d 100644
--- a/proxy/hdrs/HdrTest.cc
+++ b/proxy/hdrs/HdrTest.cc
@@ -527,7 +527,7 @@ HdrTest::test_mime()
 
   // Test the (new) continuation line folding to be correct. This should replace the
   // \r\n with two spaces (so a total of three between "part1" and "part2").
-  int length;
+  int length               = 0;
   const char *continuation = hdr.value_get("continuation", 12, &length);
 
   if ((13 != length)) {

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.