From 4eff18189a5ec3d474709dd73698ff5dcbc603c6 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 19 Mar 2003 09:42:02 +0000 Subject: Things my compiler didn't catch... --- coreutils/chgrp.c | 2 +- coreutils/df.c | 2 +- coreutils/od.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index f5e5d29f1..ac3e81ad9 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c @@ -47,7 +47,7 @@ static int fileAction(const char *fileName, struct stat *statbuf, void* junk) int chgrp_main(int argc, char **argv) { long gid; - int recursiveFlag;; + int recursiveFlag; int retval = EXIT_SUCCESS; char *p; diff --git a/coreutils/df.c b/coreutils/df.c index 7d007a003..cbe316920 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -59,7 +59,7 @@ extern int df_main(int argc, char **argv) FILE *mount_table; struct mntent *mount_entry; struct statfs s; - static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */; + static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */ const char *disp_units_hdr = hdr_1k; while ((opt = getopt(argc, argv, "k" diff --git a/coreutils/od.c b/coreutils/od.c index 5eaaf5024..b18c53c3f 100644 --- a/coreutils/od.c +++ b/coreutils/od.c @@ -167,10 +167,10 @@ static const signed char od_o2si[] = { int od_main(int argc, char **argv) { int ch; - bb_dump_vflag = FIRST; - bb_dump_length = -1; int first = 1; signed char *p; + bb_dump_vflag = FIRST; + bb_dump_length = -1; while ((ch = getopt(argc, argv, od_opts)) > 0) { if (((p = strchr(od_opts, ch)) != NULL) && (*p >= 0)) { -- cgit v1.2.3