提交 147a3d24 编写于 作者: D Daniel P. Berrange

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: NDaniel P. Berrange <berrange@redhat.com>
上级 5e397d9c
...@@ -981,9 +981,9 @@ virNWFilterSnoopDHCPDecode(virNWFilterSnoopReqPtr req, ...@@ -981,9 +981,9 @@ virNWFilterSnoopDHCPDecode(virNWFilterSnoopReqPtr req,
/* go through the protocol headers */ /* go through the protocol headers */
switch (ntohs(pep->eh_type)) { switch (ntohs(pep->eh_type)) {
case ETHERTYPE_IP: case ETHERTYPE_IP:
VIR_WARNINGS_NO_CAST_ALIGN; VIR_WARNINGS_NO_CAST_ALIGN
pip = (struct iphdr *) pep->eh_data; pip = (struct iphdr *) pep->eh_data;
VIR_WARNINGS_RESET; VIR_WARNINGS_RESET
len -= offsetof(virNWFilterSnoopEthHdr, eh_data); len -= offsetof(virNWFilterSnoopEthHdr, eh_data);
break; break;
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册