OSDN Git Service

hw/audio/es1370: remove #ifdef ES1370_DEBUG to avoid bit rot
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 17 Sep 2023 06:58:09 +0000 (08:58 +0200)
committerPatchew Applier <no-reply@patchew.org>
Tue, 10 Oct 2023 12:31:05 +0000 (12:31 +0000)
commit480e4c7abc9cb9e45b32563081841407016ed6aa
tree161bf4f56bedc92190166ffb7817597eaca65eee
parent190514258c337d0763f43ba55363b820a32c1dd7
hw/audio/es1370: remove #ifdef ES1370_DEBUG to avoid bit rot

Replace the #ifdef ES1370_DEBUG code with code that the compiler
can optimize away to avoid bit rot. While at it, replace strcat()
with pstrcat().

Tested-by: Rene Engel <ReneEngel80@emailn.de>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20230917065813.6692-4-vr_qemu@t-online.de>
hw/audio/es1370.c