From 60a9414cad23b6e8cc6b13e37675826ed05f7709 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 May 2011 20:57:01 +0200 Subject: fix "variable 'foo' set but not used" warnings Signed-off-by: Denys Vlasenko --- miscutils/last_fancy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'miscutils') diff --git a/miscutils/last_fancy.c b/miscutils/last_fancy.c index 7e61b76..dc09b65 100644 --- a/miscutils/last_fancy.c +++ b/miscutils/last_fancy.c @@ -161,11 +161,10 @@ int last_main(int argc UNUSED_PARAM, char **argv) time_t boot_time; time_t down_time; int file; - unsigned opt; smallint going_down; smallint boot_down; - opt = getopt32(argv, "Wf:" /* "H" */, &filename); + /*opt =*/ getopt32(argv, "Wf:" /* "H" */, &filename); #ifdef BUT_UTIL_LINUX_LAST_HAS_NO_SUCH_OPT if (opt & LAST_OPT_H) { /* Print header line */ -- cgit v1.1