未验证 提交 4cb5bd4e 编写于 作者: S Salvatore Sanfilippo 提交者: GitHub

Merge pull request #4820 from charpty/wip-serverc-simplify

Remove unnecessary return statements
......@@ -2920,7 +2920,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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册