summaryrefslogtreecommitdiff
path: root/sal/workben/t_digest.c
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /sal/workben/t_digest.c
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'sal/workben/t_digest.c')
-rw-r--r--sal/workben/t_digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/workben/t_digest.c b/sal/workben/t_digest.c
index 499c7e927539..2372206950d3 100644
--- a/sal/workben/t_digest.c
+++ b/sal/workben/t_digest.c
@@ -151,7 +151,7 @@ static char *pt (unsigned char *md, int length)
for (i=0; i<length; i++)
sprintf(&(buf[i*2]),"%02x",md[i]);
- return(buf);
+ return buf;
}
int SAL_CALL main (void)
@@ -360,7 +360,7 @@ int SAL_CALL main (void)
else
printf("test (PBKDF2) %d ok\n", 1);
- return (err);
+ return err;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */