[PATCH] utmpdump: kill unused variable in follow_by_inotify()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx>
---
 login-utils/utmpdump.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c
index 8af333a..1fa274e 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;
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux