Skip to content

Commit

Permalink
Minor, coding style
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Dec 17, 2022
1 parent 270e270 commit f9c72a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uev.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ int uev_exit(uev_ctx_t *ctx)
*/
int uev_run(uev_ctx_t *ctx, int flags)
{
uev_t *w;
int timeout = -1;
uev_t *w;

if (!ctx || ctx->fd < 0) {
errno = EINVAL;
Expand Down Expand Up @@ -356,9 +356,9 @@ int uev_run(uev_ctx_t *ctx, int flags)

for (i = 0; ctx->running && i < nfds; i++) {
struct signalfd_siginfo fdsi;
ssize_t sz = sizeof(fdsi);
uint32_t events;
uint64_t exp;
ssize_t sz = sizeof(fdsi);

w = (uev_t *)ee[i].data.ptr;
events = ee[i].events;
Expand Down

0 comments on commit f9c72a0

Please # to comment.