mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +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> |
||
---|---|---|
.. | ||
genpolkit.pl | ||
Makefile.inc.am | ||
viraccessdriver.h | ||
viraccessdrivernop.c | ||
viraccessdrivernop.h | ||
viraccessdriverpolkit.c | ||
viraccessdriverpolkit.h | ||
viraccessdriverstack.c | ||
viraccessdriverstack.h | ||
viraccessmanager.c | ||
viraccessmanager.h | ||
viraccessperm.c | ||
viraccessperm.h |