summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inotail.c b/inotail.c
index c0c5302..da881d4 100644
--- a/inotail.c
+++ b/inotail.c
@@ -245,8 +245,7 @@ static int watch_files(struct file_struct *f, int n_files)
}
}
- /* Very unlikely! */
- if (!fil)
+ if (unlikely(!fil))
break;
if (inev->mask & IN_MODIFY) {