libvirt/src/vmware
Cole Robinson 6a4d938dd3 Require a semicolon for VIR_ENUM_IMPL calls
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>
2019-02-03 17:46:29 -05:00
..
Makefile.inc.am make: split vmware driver build rules into vmware/Makefile.inc.am 2018-02-23 13:14:25 +00:00
vmware_conf.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
vmware_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
vmware_driver.c conf: Clean up object referencing for Add and Remove 2018-05-03 19:09:03 -04:00
vmware_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00