util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] utmpdump: kill unused variable in follow_by_inotify()
@ 2012-07-12  9:18 Petr Uzel
  2012-07-16 16:24 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Uzel @ 2012-07-12  9:18 UTC (permalink / raw)
  To: util-linux


Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] utmpdump: kill unused variable in follow_by_inotify()
  2012-07-12  9:18 [PATCH] utmpdump: kill unused variable in follow_by_inotify() Petr Uzel
@ 2012-07-16 16:24 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-07-16 16:24 UTC (permalink / raw)
  To: Petr Uzel; +Cc: util-linux

On Thu, Jul 12, 2012 at 11:18:46AM +0200, Petr Uzel wrote:
>  login-utils/utmpdump.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-16 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12  9:18 [PATCH] utmpdump: kill unused variable in follow_by_inotify() Petr Uzel
2012-07-16 16:24 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).