Re: [PATCH wayland 7/9] client: Simplify some logic in queue_event

2017-04-12 Thread Bryce Harrington
On Fri, Apr 07, 2017 at 03:27:53PM -0500, Derek Foreman wrote: > Both the blocks in this if/else clause do the same thing, so combine > the comparisons into one. > > No functional change. > > Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington This is a simple refactor that can be land

[PATCH wayland 7/9] client: Simplify some logic in queue_event

2017-04-07 Thread Derek Foreman
Both the blocks in this if/else clause do the same thing, so combine the comparisons into one. No functional change. Signed-off-by: Derek Foreman --- src/wayland-client.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index a7