trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: TS-4460: Fixed clang-analyzer error, unused assignment
Date Tue, 24 May 2016 16:54:53 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  bd5eef6   TS-4460: Fixed clang-analyzer error, unused assignment
bd5eef6 is described below

commit bd5eef660ca7c1e649fdfedfe541e7012f7bb7c8
Author: Bryan Call <bcall@apache.org>
AuthorDate: Tue May 24 09:53:02 2016 -0700

    TS-4460: Fixed clang-analyzer error, unused assignment
---
 lib/records/P_RecCore.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/records/P_RecCore.cc b/lib/records/P_RecCore.cc
index f266e11..6162bc4 100644
--- a/lib/records/P_RecCore.cc
+++ b/lib/records/P_RecCore.cc
@@ -380,7 +380,6 @@ RecSetRecord(RecT rec_type, const char *name, RecDataT data_type, RecData
*data,
           // and we should convert based on the record's data type.
           ink_release_assert(data->rec_string != NULL);
           RecDataSetFromString(r1->data_type, &(r1->data), data->rec_string);
-          data_type = r1->data_type;
         } else {
           RecDataSet(data_type, &(r1->data), data);
         }

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

Mime
View raw message