tree-wide: remove (void) cast around sync()

The call is void anyway, it doesn't return an failure indication. Hence,
no need to cast void to (void)...

(We got this right in most cases, but forgot some)
This commit is contained in:
Lennart Poettering
2023-05-19 14:21:21 +02:00
parent 9287925a0d
commit b7106af465
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ int asynchronous_sync(pid_t *ret_pid) {
return r;
if (r == 0) {
/* Child process */
(void) sync();
sync();
_exit(EXIT_SUCCESS);
}