commit 32d55b0acd04898fd601f4a265e714ee3985ed24
parent 27f7b6b170441c8d333919ef7cd1117c34c62582
Author: Amitai Schleier <schmonz-web-git@schmonz.com>
Date: Fri, 20 Nov 2020 11:32:50 +0100
Fix 1 warning from -Wempty-body.
The clang warning message says "if statement has empty body". Move the
statement inside the neighboring comment.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/substdo.c b/substdo.c
@@ -17,7 +17,7 @@ register unsigned int len;
if (errno == error_intr) continue;
return -1; /* note that some data may have been written */
}
- if (w == 0) ; /* luser's fault */
+ /* if (w == 0), luser's fault */
buf += w;
len -= w;
}