From a0030b55aec2c61e05527689129c038d72e423d2 Mon Sep 17 00:00:00 2001 From: rubin Date: Fri, 22 May 2026 16:21:53 +0200 Subject: fix variable order to comply with style guide Signed-off-by: rubin --- fdwatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.4.1