From bb89b301143fe9deb962bb2d48264b27a945fcf4 Mon Sep 17 00:00:00 2001 From: vda Date: Mon, 27 Nov 2006 16:49:31 +0000 Subject: style cleanup: return(a) -> return a, part 1 git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/dump.c | 6 +++--- libbb/obscure.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libbb') 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) 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 */ } 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 /* 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)) { -- cgit v1.2.3-55-g6feb