Skip to content

Commit

Permalink
fix ccheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
viordash committed Aug 19, 2022
1 parent 1a3c1e4 commit 8a58e18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct re {
thrd_t tid; /**< Thread id */
RE_ATOMIC bool thread_enter; /**< Thread enter is called */
struct re_async *async; /**< Async object */
re_sock_t fd_refresh[2]; /**< Refresh the thread state */
re_sock_t fd_refresh[2]; /**< Refresh the thread state */
};

static struct re *re_global = NULL;
Expand Down Expand Up @@ -1079,7 +1079,7 @@ int re_main(re_signal_h *signalh)
err = poll_setup(re);
if (err)
goto out;

err = init_refreshing(re);
if (err)
goto out;
Expand Down Expand Up @@ -1601,4 +1601,4 @@ static void refresh(struct re *re)

if (re)
write(re->fd_refresh[1], &msg, sizeof(msg));
}
}

0 comments on commit 8a58e18

Please sign in to comment.