Clean-up: tests: notification-client: unused assignment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 18:34:46 +0000 (14:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 18:50:55 +0000 (14:50 -0400)
commit82e2adac0e195e560ac607f22bf67db267b6d464
treec5ef4936521b76557596a9d5a78f9204fe10e6c8
parent3a9e5d1671c6096fed41d7f6dc50cc28479ee55c
Clean-up: tests: notification-client: unused assignment

1452629 Unused value

An assigned value that is never used may represent unnecessary
computation, an incorrect algorithm, or possibly the need for cleanup or
refactoring.

In main: A value assigned to a variable is never used. (CWE-563)

CID 1452629 (#1 of 1): Unused value (UNUSED_VALUE)assigned_value:
Assigning value -1 to ret here, but that stored value is overwritten
before it can be used

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I0d80a244a7b2b3d6aed57d58ca5435230d664f99
tests/regression/tools/trigger/utils/notification-client.c
This page took 0.025983 seconds and 5 git commands to generate.