]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: xml: use pragma in VIR_XPATH_NODE_AUTORESTORE
authorJán Tomko <jtomko@redhat.com>
Tue, 28 Jul 2020 19:47:29 +0000 (21:47 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Aug 2020 17:03:12 +0000 (19:03 +0200)
commit8cc177fc5d2c1ac76b256bd8d104d894fa9845ec
tree9b9ff1b7150473098f5361733fd690c06ead93e7
parentaeb59ff576c71e6f5ed2ee73e1ac15de63f56633
util: xml: use pragma in VIR_XPATH_NODE_AUTORESTORE

The VIR_XPATH_NODE_AUTORESTORE contains an ignore_value
statement to silence an unused variable warning on clang.

Use a pragma instead, which is not a statement.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/internal.h
src/util/virxml.h