aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-13 20:57:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-13 20:57:01 +0200
commit60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch)
tree38b193f0468dd57728fe991e9eaed8abf088deeb /miscutils
parent8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff)
downloadbusybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz
busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.bz2
busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip
fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/last_fancy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/last_fancy.c b/miscutils/last_fancy.c
index 7e61b7691..dc09b65fb 100644
--- a/miscutils/last_fancy.c
+++ b/miscutils/last_fancy.c
@@ -161,11 +161,10 @@ int last_main(int argc UNUSED_PARAM, char **argv)
161 time_t boot_time; 161 time_t boot_time;
162 time_t down_time; 162 time_t down_time;
163 int file; 163 int file;
164 unsigned opt;
165 smallint going_down; 164 smallint going_down;
166 smallint boot_down; 165 smallint boot_down;
167 166
168 opt = getopt32(argv, "Wf:" /* "H" */, &filename); 167 /*opt =*/ getopt32(argv, "Wf:" /* "H" */, &filename);
169#ifdef BUT_UTIL_LINUX_LAST_HAS_NO_SUCH_OPT 168#ifdef BUT_UTIL_LINUX_LAST_HAS_NO_SUCH_OPT
170 if (opt & LAST_OPT_H) { 169 if (opt & LAST_OPT_H) {
171 /* Print header line */ 170 /* Print header line */