diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-17 11:30:15 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-04-20 10:51:11 -0700 |
commit | beab3447dbb1363654760c34b53226814c64de99 (patch) | |
tree | 77a0c2aecc8d4b0b83fcb2151444e90923571e49 /util/module.c | |
parent | 702979f736a13aded68b7a14a46a7b33b752cce5 (diff) | |
download | qemu-beab3447dbb1363654760c34b53226814c64de99.zip qemu-beab3447dbb1363654760c34b53226814c64de99.tar.gz qemu-beab3447dbb1363654760c34b53226814c64de99.tar.bz2 |
util/log: Hoist the eval of is_daemonized in qemu_set_log_internal
Only call is_daemonized once.
We require the result on all paths after this point.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-36-richard.henderson@linaro.org>
Diffstat (limited to 'util/module.c')
0 files changed, 0 insertions, 0 deletions