mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-12 17:02:22 +07:00
Minor simplification, result is never changed
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -270,7 +270,7 @@ int uev_exit(uev_ctx_t *ctx)
|
||||
*/
|
||||
int uev_run(uev_ctx_t *ctx, int flags)
|
||||
{
|
||||
int result = 0, timeout = -1;
|
||||
int timeout = -1;
|
||||
uev_t *w;
|
||||
|
||||
if (!ctx || ctx->fd < 0) {
|
||||
@@ -415,7 +415,7 @@ int uev_run(uev_ctx_t *ctx, int flags)
|
||||
break;
|
||||
}
|
||||
|
||||
return result;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user