Use {}, not semicolon, when the statement of an "if" does nothing
[platform/upstream/dbus.git] / dbus / dbus-spawn.c
index a4652a3..9f6be26 100644 (file)
@@ -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);
         }