projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use {}, not semicolon, when the statement of an "if" does nothing
[platform/upstream/dbus.git]
/
dbus
/
dbus-spawn.c
diff --git
a/dbus/dbus-spawn.c
b/dbus/dbus-spawn.c
index
a4652a3
..
9f6be26
100644
(file)
--- a/
dbus/dbus-spawn.c
+++ b/
dbus/dbus-spawn.c
@@
-1103,7
+1103,9
@@
babysit (pid_t grandchild_pid,
{
char b;
if (read (sigchld_pipe[READ_END], &b, 1) == -1)
- /* ignore */;
+ {
+ /* ignore */
+ }
/* do waitpid check */
check_babysit_events (grandchild_pid, parent_pipe, 0);
}