fix "variable 'foo' set but not used" warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-05-13 20:57:01 +02:00
parent 8dd29da2c6
commit 60a9414cad
9 changed files with 11 additions and 27 deletions

View File

@ -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 */