On a Friday in 2021, Tim Wiederhake wrote:
Workaround for a bug in clang. Clang emits an unused-variable warning
if the variable is only accessed on scope exit by a destructor function.
Note that gcc does not exhibit this behavior.

See https://bugs.llvm.org/show_bug.cgi?id=3888 and
https://bugs.llvm.org/show_bug.cgi?id=43482.

Signed-off-by: Tim Wiederhake <twied...@redhat.com>
---
src/util/glibcompat.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)


https://listman.redhat.com/archives/libvir-list/2021-August/msg00863.html

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to