mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 16:48:27 -05:00
Remove unnecessary return statements
Signed-off-by: charpty <charpty@gmail.com>
This commit is contained in:
parent
8ac7af1c5d
commit
0fd2b25c8d
@ -2866,7 +2866,6 @@ void bytesToHuman(char *s, unsigned long long n) {
|
||||
if (n < 1024) {
|
||||
/* Bytes */
|
||||
sprintf(s,"%lluB",n);
|
||||
return;
|
||||
} else if (n < (1024*1024)) {
|
||||
d = (double)n/(1024);
|
||||
sprintf(s,"%.2fK",d);
|
||||
|
Loading…
Reference in New Issue
Block a user