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/11/24 21:33:18 UTC

[trafficserver] branch master updated: coverity 1382722: Unchecked return value

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 5347ac9  coverity 1382722: Unchecked return value
5347ac9 is described below

commit 5347ac9b29ebe9ad3cf75325cdceba3be86585f9
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Nov 22 09:58:26 2017 -0800

    coverity 1382722: Unchecked return value
---
 proxy/ParentSelectionStrategy.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/ParentSelectionStrategy.cc b/proxy/ParentSelectionStrategy.cc
index e7cc08b..f7ca1b8 100644
--- a/proxy/ParentSelectionStrategy.cc
+++ b/proxy/ParentSelectionStrategy.cc
@@ -76,6 +76,7 @@ ParentSelectionStrategy::markParentDown(ParentResult *result, unsigned int fail_
     // if the last failure was outside the retry window, set the failcount to 1
     // and failedAt to now.
     if ((pRec->failedAt + retry_time) < now) {
+      // coverity[checked_return]
       ink_atomic_swap(&pRec->failCount, 1);
       ink_atomic_swap(&pRec->failedAt, now);
     } else {

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