style cleanup: return(a) -> return a, part 1
This commit is contained in:
@@ -322,7 +322,7 @@ static int next(char **argv)
|
||||
|
||||
if (argv) {
|
||||
_argv = argv;
|
||||
return (1);
|
||||
return 1;
|
||||
}
|
||||
for (;;) {
|
||||
if (*_argv) {
|
||||
@@ -335,7 +335,7 @@ static int next(char **argv)
|
||||
statok = done = 1;
|
||||
} else {
|
||||
if (done++)
|
||||
return (0);
|
||||
return 0;
|
||||
statok = 0;
|
||||
}
|
||||
if (bb_dump_skip)
|
||||
@@ -343,7 +343,7 @@ static int next(char **argv)
|
||||
if (*_argv)
|
||||
++_argv;
|
||||
if (!bb_dump_skip)
|
||||
return (1);
|
||||
return 1;
|
||||
}
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
@@ -97,7 +97,7 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc
|
||||
|
||||
/* size */
|
||||
if (!new_p || (length = strlen(new_p)) < CONFIG_PASSWORD_MINLEN)
|
||||
return("too short");
|
||||
return "too short";
|
||||
|
||||
/* no username as-is, as sub-string, reversed, capitalized, doubled */
|
||||
if (string_checker(new_p, pw->pw_name)) {
|
||||
|
Reference in New Issue
Block a user