summaryrefslogtreecommitdiffstats
path: root/hicn-light
diff options
context:
space:
mode:
authorLuca Muscariello <muscariello@ieee.org>2022-10-19 17:51:12 +0200
committerLuca Muscariello <muscariello@ieee.org>2022-10-19 18:07:34 +0200
commit7b3426fb129f41ca05353b5e1dd66264a3a96d0f (patch)
treead1d9795f1b2130112b9bb8a14c68703b5b0940d /hicn-light
parentd00ad4c5c437fd10c850bc073f94d2b790926b1d (diff)
fix(sonar): False positives Identical sub-expressions on both sides of operator
Ref: HICN-816 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ifdbcad287f89378dc2a35110fac01dba9c341ef9
Diffstat (limited to 'hicn-light')
-rw-r--r--hicn-light/src/hicn/test/test-loop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/test/test-loop.cc b/hicn-light/src/hicn/test/test-loop.cc
index 0ebf7a22a..71635c929 100644
--- a/hicn-light/src/hicn/test/test-loop.cc
+++ b/hicn-light/src/hicn/test/test-loop.cc
@@ -121,7 +121,7 @@ class LoopTest : public ::testing::Test {
int client_fd =
accept(test->connection_socket_, (struct sockaddr *)(&addr), &addr_len);
if (client_fd == -1) {
- if (errno != EAGAIN && errno != EWOULDBLOCK) {
+ if (errno != EAGAIN && errno != EWOULDBLOCK) { // NOSONAR
fprintf(stderr, "accept failed");
}