mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-19 10:49:31 +00:00
Minor simplification, result is never changed
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2f9cce9150
commit
1037eed481
1 file changed
+2
-2
@@ -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