[ovs-git] [openvswitch/ovs] 7ab0b6: datapath-windows: Add braces to fix error C2275.
GitHub
noreply at github.com
Fri Apr 22 15:24:55 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 7ab0b62b344758651676f55577acbc1a21e15110
https://github.com/openvswitch/ovs/commit/7ab0b62b344758651676f55577acbc1a21e15110
Author: Sairam Venugopal <vsairam at vmware.com>
Date: 2016-04-22 (Fri, 22 Apr 2016)
Changed paths:
M datapath-windows/ovsext/Conntrack.c
Log Message:
-----------
datapath-windows: Add braces to fix error C2275.
Add braces around the if statement to prevent Visual Studio from giving
the "error C2275: illegal use of this type as an expresion". This happens
when a variable is declared after a block. This error occurs on certain
versions of compilers.
Signed-off-by: Sairam Venugopal <vsairam at vmware.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list