diff options
author | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:42:02 +0000 |
---|---|---|
committer | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:42:02 +0000 |
commit | 595faba14f00679bc8b60a261c8d98d69e67786f (patch) | |
tree | 31437c2d09e30fdb107cd256208041d05bb1429d | |
parent | e901c15d890dbbdce4c086963cb1513653fc46b5 (diff) | |
download | busybox-w32-595faba14f00679bc8b60a261c8d98d69e67786f.tar.gz busybox-w32-595faba14f00679bc8b60a261c8d98d69e67786f.tar.bz2 busybox-w32-595faba14f00679bc8b60a261c8d98d69e67786f.zip |
Things my compiler didn't catch...
git-svn-id: svn://busybox.net/trunk/busybox@6752 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | coreutils/chgrp.c | 2 | ||||
-rw-r--r-- | coreutils/df.c | 2 | ||||
-rw-r--r-- | 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) | |||
47 | int chgrp_main(int argc, char **argv) | 47 | int chgrp_main(int argc, char **argv) |
48 | { | 48 | { |
49 | long gid; | 49 | long gid; |
50 | int recursiveFlag;; | 50 | int recursiveFlag; |
51 | int retval = EXIT_SUCCESS; | 51 | int retval = EXIT_SUCCESS; |
52 | char *p; | 52 | char *p; |
53 | 53 | ||
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) | |||
59 | FILE *mount_table; | 59 | FILE *mount_table; |
60 | struct mntent *mount_entry; | 60 | struct mntent *mount_entry; |
61 | struct statfs s; | 61 | struct statfs s; |
62 | static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */; | 62 | static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */ |
63 | const char *disp_units_hdr = hdr_1k; | 63 | const char *disp_units_hdr = hdr_1k; |
64 | 64 | ||
65 | while ((opt = getopt(argc, argv, "k" | 65 | 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[] = { | |||
167 | int od_main(int argc, char **argv) | 167 | int od_main(int argc, char **argv) |
168 | { | 168 | { |
169 | int ch; | 169 | int ch; |
170 | bb_dump_vflag = FIRST; | ||
171 | bb_dump_length = -1; | ||
172 | int first = 1; | 170 | int first = 1; |
173 | signed char *p; | 171 | signed char *p; |
172 | bb_dump_vflag = FIRST; | ||
173 | bb_dump_length = -1; | ||
174 | 174 | ||
175 | while ((ch = getopt(argc, argv, od_opts)) > 0) { | 175 | while ((ch = getopt(argc, argv, od_opts)) > 0) { |
176 | if (((p = strchr(od_opts, ch)) != NULL) && (*p >= 0)) { | 176 | if (((p = strchr(od_opts, ch)) != NULL) && (*p >= 0)) { |