Re: [PATCH v2 35/39] util/log: Hoist the eval of is_daemonized in qemu_set_log_internal

2022-04-14 Thread Alex Bennée
Richard Henderson writes: > Only call is_daemonized once. > We require the result on all paths after this point. > > Reviewed-by: Philippe Mathieu-Daudé > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée

[PATCH v2 35/39] util/log: Hoist the eval of is_daemonized in qemu_set_log_internal

2022-03-26 Thread Richard Henderson
Only call is_daemonized once. We require the result on all paths after this point. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- util/log.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/util/log.c b/util/log.c index bb201664ac..631856e231