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: coverity 1382722: Unchecked return value
Date Mon, 04 Dec 2017 15:55:25 GMT
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 <bcall@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" <commits@trafficserver.apache.org>'].

Mime
View raw message