mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-06 22:35:46 +00:00
6a4d938dd3
Missing semicolon at the end of macros can confuse some analyzers (like cppcheck <filename>), and we have a mix of semicolon and non-semicolon usage through the code. Let's standardize on using a semicolon for VIR_ENUM_IMPL calls. Move the verify() statement to the end of the macro and drop the semicolon, so the compiler will require callers to add a semicolon. While we are touching these call sites, standardize on putting the closing parenth on its own line, as discussed here: https://www.redhat.com/archives/libvir-list/2019-January/msg00750.html Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com> |
||
---|---|---|
.. | ||
domain_lock.c | ||
domain_lock.h | ||
libvirt_lockd.aug | ||
libvirt_sanlock.aug | ||
lock_daemon_config.c | ||
lock_daemon_config.h | ||
lock_daemon_dispatch.c | ||
lock_daemon_dispatch.h | ||
lock_daemon.c | ||
lock_daemon.h | ||
lock_driver_lockd.c | ||
lock_driver_lockd.h | ||
lock_driver_nop.c | ||
lock_driver_nop.h | ||
lock_driver_sanlock.c | ||
lock_driver.h | ||
lock_manager.c | ||
lock_manager.h | ||
lock_protocol.x | ||
lockd.conf | ||
Makefile.inc.am | ||
sanlock_helper.c | ||
sanlock.conf | ||
test_libvirt_lockd.aug.in | ||
test_libvirt_sanlock.aug.in | ||
test_virtlockd.aug.in | ||
virtlockd-admin.socket.in | ||
virtlockd.aug | ||
virtlockd.conf | ||
virtlockd.init.in | ||
virtlockd.pod | ||
virtlockd.service.in | ||
virtlockd.socket.in | ||
virtlockd.sysconf |