Skip to content

Commit

Permalink
datapath-windows: Fixed Release broken build.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Alin Gabriel Serdean <[email protected]>
  • Loading branch information
svinturis authored and blp committed Nov 25, 2014
1 parent ff05750 commit aded80d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datapath-windows/ovsext/Datapath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit aded80d

Please sign in to comment.