From b9057fcd6ea0712dbefeb47006f63c0bf0e18d5f Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 14 Dec 2006 22:01:04 +0100 Subject: inotail.c: Move a variable to the block where it's used --- inotail.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inotail.c b/inotail.c index 51bb353..731346f 100644 --- a/inotail.c +++ b/inotail.c @@ -277,10 +277,9 @@ out: static int handle_inotify_event(struct inotify_event *inev, struct file_struct *fil, int n_ignored) { - off_t offset; - if (inev->mask & IN_MODIFY) { int rc; + off_t offset; char fbuf[BUFFER_SIZE]; struct stat finfo; -- cgit v1.2.3-54-g00ecf