Re: git: 6ac7c9f06ae9 - main - daemon: remove redundant parameter from listen_child()

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Wed, 27 Dec 2023 15:31:41 UTC
On Wed, Dec 27, 2023 at 04:49:20PM +0200, Konstantin Belousov wrote:
> On Wed, Dec 27, 2023 at 06:08:08AM +0000, Kyle Evans wrote:
> > commit 6ac7c9f06ae9b7ef070c1f8a57dcc52be4dd45b7
> > 
> >   daemon: remove redundant parameter from listen_child()
> > 
> >   state already contains pipe fd
> > ...
> > @@ -448,9 +448,7 @@ daemon_eventloop(struct daemon_state *state)
> >  					/* child is dead, read all until EOF */
> >  					state->pid = -1;
> >  					state->mode = MODE_NOCHILD;
> > -					while (listen_child(state->pipe_fd[0],
> > -					    state))
> > -						;
> > +					while (listen_child(state));
> 
> This line is the style regression.

We've seen this before and I reckon these regressions would keep happening
when semicolon is put on the new line by itself alone.  This would be less
likely to happen and makes the intention more obvious to say ``continue;''.

./danfe