Things my compiler didn't catch...
This commit is contained in:
parent
cad5364599
commit
4eff18189a
@ -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;
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user