Fixes after coverity analysis

This commit is contained in:
Olof hagsand 2023-12-30 16:04:06 +01:00
parent 7b58c1c562
commit 0fff9d8ef5
13 changed files with 43 additions and 24 deletions

View file

@ -193,7 +193,7 @@ static char *
clixon_strerror1(int err,
struct errvec vec[])
{
struct errvec *ev;
struct errvec *ev = NULL;
for (ev=vec; ev->ev_err != -1; ev++)
if (ev->ev_err == err)