]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
utmpdump: remove unused variable
authorSami Kerola <kerolasa@iki.fi>
Sat, 14 Jul 2012 21:47:07 +0000 (23:47 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:18:21 +0000 (18:18 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
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;