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

Nithin Raju nithin at vmware.com
Mon Nov 24 18:16:06 UTC 2014


On Nov 24, 2014, at 9:01 AM, Sorin Vinturis <svinturis at cloudbasesolutions.com>
 wrote:

> 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>
> Acked-by: Alin Gabriel Serdean <aserdean 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);

DBG_UNREFERENCED_PARAMETER() is better.

LG otherwise.

Acked-by: Nithin Raju <nithin at vmware.com>


More information about the dev mailing list