summaryrefslogtreecommitdiffstats
path: root/login-utils/utmpdump.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-14 23:47:07 +0200
committerKarel Zak2012-07-16 18:18:21 +0200
commit4e7e68ca6fdf58d2c65664e00fddc29075fa8e5d (patch)
treeca6e5434439e32c661fa984ad1dc7ccf133e0592 /login-utils/utmpdump.c
parentswapon: remove unused variables (diff)
downloadkernel-qcow2-util-linux-4e7e68ca6fdf58d2c65664e00fddc29075fa8e5d.tar.gz
kernel-qcow2-util-linux-4e7e68ca6fdf58d2c65664e00fddc29075fa8e5d.tar.xz
kernel-qcow2-util-linux-4e7e68ca6fdf58d2c65664e00fddc29075fa8e5d.zip
utmpdump: remove unused variable
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/utmpdump.c')
-rw-r--r--login-utils/utmpdump.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c
index 8af333a80..1fa274ef4 100644
--- a/login-utils/utmpdump.c
+++ b/login-utils/utmpdump.c
@@ -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;