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)) {