diff options
author | Karel Zak | 2012-06-29 16:56:04 +0200 |
---|---|---|
committer | Karel Zak | 2012-06-29 16:56:04 +0200 |
commit | a9eee8709056f29cd2a0979a688f83a590bce0b1 (patch) | |
tree | 6150ee3a6adcfd2a1a0a3e3a99fbc7284b84d880 | |
parent | utmpdump: remove libc5 support (diff) | |
download | kernel-qcow2-util-linux-a9eee8709056f29cd2a0979a688f83a590bce0b1.tar.gz kernel-qcow2-util-linux-a9eee8709056f29cd2a0979a688f83a590bce0b1.tar.xz kernel-qcow2-util-linux-a9eee8709056f29cd2a0979a688f83a590bce0b1.zip |
utmpdump: remove dead code
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | login-utils/utmpdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c index 63dfd4592..ebf85023a 100644 --- a/login-utils/utmpdump.c +++ b/login-utils/utmpdump.c @@ -149,7 +149,7 @@ int gettok(char *line, char *dest, int size, int eatspace) return eaten + 1; } -void undump(FILE *fp, int forever __attribute__((unused))) +void undump(FILE *fp) { struct utmp ut; char s_addr[16], s_time[29], *linestart, *line; @@ -228,7 +228,7 @@ int main(int argc, char **argv) } if (reverse) - undump(fp, forever); + undump(fp); else dump(fp, forever); |