[ovs-dev] [PATCH] datapath-windows: Fixed Release broken build

Alin Serdean aserdean at cloudbasesolutions.com
Mon Nov 24 16:58:54 UTC 2014


Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>



-----Mesaj original-----
De la: dev [mailto:dev-bounces at openvswitch.org] În numele Sorin Vinturis
Trimis: Monday, November 24, 2014 6:26 PM
Către: dev at openvswitch.org
Subiect: [ovs-dev] [PATCH] datapath-windows: Fixed Release broken build

The release configurations of the OVSEXT project were not compiling.
This was due to a warning that was treated as error. Fixed that.

I did not want to remove that variable, because it is used in an ASSERT in that function.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
---
 datapath-windows/ovsext/Datapath.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/datapath-windows/ovsext/Datapath.c b/datapath-windows/ovsext/Datapath.c
index 49a0b68..80849a7 100644
--- a/datapath-windows/ovsext/Datapath.c
+++ b/datapath-windows/ovsext/Datapath.c
@@ -1257,6 +1257,8 @@ HandleDpTransactionCommon(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
     };
     PNL_ATTR dpAttrs[ARRAY_SIZE(ovsDatapathSetPolicy)];
 
+    UNREFERENCED_PARAMETER(msgOut);
+
     /* input buffer has been validated while validating write dev op. */
     ASSERT(msgIn != NULL && usrParamsCtx->inputLength >= sizeof *msgIn);
 
--
1.9.0.msysgit.0
_______________________________________________
dev mailing list
dev at openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list