diff options
| author | rubin <rubinowyblask@meow.li> | 2026-05-22 16:21:53 +0200 |
|---|---|---|
| committer | rubin <rubinowyblask@meow.li> | 2026-05-22 16:21:53 +0200 |
| commit | a0030b55aec2c61e05527689129c038d72e423d2 (patch) | |
| tree | 856315429dc0795e3fefb3d3cf463b8002295643 /fdwatcher.c | |
| parent | 77dc79afe5fd909fb1fe0a3cc668db2763b82fb8 (diff) | |
fix variable order to comply with style guide
Signed-off-by: rubin <rubinowyblask@meow.li>
Diffstat (limited to 'fdwatcher.c')
| -rw-r--r-- | fdwatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fdwatcher.c b/fdwatcher.c index 8e0cb97..a25d83d 100644 --- a/fdwatcher.c +++ b/fdwatcher.c @@ -77,9 +77,9 @@ _fdwatcher_handleEvents(struct FDWatchHandle *handle, int (*meow)(struct FDWatch int ret = 0; while (1) { + struct pollfd *watchedFdEntry = NULL; if (i == handle->watchedFdCount) break; - struct pollfd *watchedFdEntry = NULL; watchedFdEntry = &handle->watchedFds[i]; if (watchedFdEntry->revents != 0) { |
