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 2016/05/24 16:54:53 UTC

[trafficserver] branch master updated: TS-4460: Fixed clang-analyzer error, unused assignment

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 <bc...@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" <co...@trafficserver.apache.org>'].