mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Remove stray semicolon after pragma macros
The VIR_WARNINGS_NO_CAST_ALIGN / VIR_WARNINGS_RESET should not have any trailing ';' since they are pragmas. The use of a ';' results in an empty statement which confuses CIL. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
5e397d9c0f
commit
147a3d2487
@ -981,9 +981,9 @@ virNWFilterSnoopDHCPDecode(virNWFilterSnoopReqPtr req,
|
||||
/* go through the protocol headers */
|
||||
switch (ntohs(pep->eh_type)) {
|
||||
case ETHERTYPE_IP:
|
||||
VIR_WARNINGS_NO_CAST_ALIGN;
|
||||
VIR_WARNINGS_NO_CAST_ALIGN
|
||||
pip = (struct iphdr *) pep->eh_data;
|
||||
VIR_WARNINGS_RESET;
|
||||
VIR_WARNINGS_RESET
|
||||
len -= offsetof(virNWFilterSnoopEthHdr, eh_data);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user