]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
utmpdump: kill unused variable in follow_by_inotify()
authorPetr Uzel <petr.uzel@suse.cz>
Thu, 12 Jul 2012 09:18:46 +0000 (11:18 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:09:22 +0000 (18:09 +0200)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
login-utils/utmpdump.c

index 8af333a8033940013101fef1ef5a46f0a343537f..1fa274ef45800b9ca7c23754574f96abaf2fbea8 100644 (file)
@@ -142,7 +142,6 @@ done:
 static int follow_by_inotify(FILE *fp, const char *filename)
 {
        char buf[NEVENTS * sizeof(struct inotify_event)];
-       struct utmp ut;
        int fd, wd, event;
        ssize_t length;
        off_t size;