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/12/04 15:55:25 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 eee39a7  coverity 1382722: Unchecked return value
eee39a7 is described below

commit eee39a7c40e4e769de117a45bff79708e5e00f86
Author: Bryan Call <bc...@apache.org>
AuthorDate: Sat Dec 2 16:05:54 2017 -0800

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

diff --git a/proxy/ParentSelectionStrategy.cc b/proxy/ParentSelectionStrategy.cc
index f7ca1b8..aebe431 100644
--- a/proxy/ParentSelectionStrategy.cc
+++ b/proxy/ParentSelectionStrategy.cc
@@ -76,7 +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]
+      // coverity[check_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>'].