mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-14 19:03:42 +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 uev_run(uev_ctx_t *ctx, int flags)
|
||||||
{
|
{
|
||||||
int result = 0, timeout = -1;
|
int timeout = -1;
|
||||||
uev_t *w;
|
uev_t *w;
|
||||||
|
|
||||||
if (!ctx || ctx->fd < 0) {
|
if (!ctx || ctx->fd < 0) {
|
||||||
@@ -415,7 +415,7 @@ int uev_run(uev_ctx_t *ctx, int flags)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user