aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:31 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:31 +0000
commit079f8afa0a16112cbaf7012c82b38b7358b82141 (patch)
tree0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /libbb
parent10d0d4eec7e3a292917f43f72afae20341d9ba11 (diff)
downloadbusybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.gz
busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.bz2
busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.zip
style cleanup: return(a) -> return a, part 1
Diffstat (limited to 'libbb')
-rw-r--r--libbb/dump.c6
-rw-r--r--libbb/obscure.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 8be29efad..4e4c2e12c 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -322,7 +322,7 @@ static int next(char **argv)
322 322
323 if (argv) { 323 if (argv) {
324 _argv = argv; 324 _argv = argv;
325 return (1); 325 return 1;
326 } 326 }
327 for (;;) { 327 for (;;) {
328 if (*_argv) { 328 if (*_argv) {
@@ -335,7 +335,7 @@ static int next(char **argv)
335 statok = done = 1; 335 statok = done = 1;
336 } else { 336 } else {
337 if (done++) 337 if (done++)
338 return (0); 338 return 0;
339 statok = 0; 339 statok = 0;
340 } 340 }
341 if (bb_dump_skip) 341 if (bb_dump_skip)
@@ -343,7 +343,7 @@ static int next(char **argv)
343 if (*_argv) 343 if (*_argv)
344 ++_argv; 344 ++_argv;
345 if (!bb_dump_skip) 345 if (!bb_dump_skip)
346 return (1); 346 return 1;
347 } 347 }
348 /* NOTREACHED */ 348 /* NOTREACHED */
349} 349}
diff --git a/libbb/obscure.c b/libbb/obscure.c
index 9ac6bcd82..56aacc910 100644
--- a/libbb/obscure.c
+++ b/libbb/obscure.c
@@ -97,7 +97,7 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc
97 97
98 /* size */ 98 /* size */
99 if (!new_p || (length = strlen(new_p)) < CONFIG_PASSWORD_MINLEN) 99 if (!new_p || (length = strlen(new_p)) < CONFIG_PASSWORD_MINLEN)
100 return("too short"); 100 return "too short";
101 101
102 /* no username as-is, as sub-string, reversed, capitalized, doubled */ 102 /* no username as-is, as sub-string, reversed, capitalized, doubled */
103 if (string_checker(new_p, pw->pw_name)) { 103 if (string_checker(new_p, pw->pw_name)) {