Re: [ovs-dev] [PATCH 1/3] ovs-ofctl: Workaround a compiler warning on MSVC.

2014-09-11 Thread Ben Pfaff
On Wed, Sep 10, 2014 at 12:55:46PM -0700, Gurucharan Shetty wrote: > MSVC complains about a void function returning a value if there is a > statement of the form - 'return foo()' even if foo() has a void return > type. > > Signed-off-by: Gurucharan Shetty It's a weird thing to do anyway. I thin

Re: [ovs-dev] [PATCH 1/3] ovs-ofctl: Workaround a compiler warning on MSVC.

2014-09-10 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Gurucharan Shetty Trimis: Wednesday, September 10, 2014 10:56 PM Către: dev@openvswitch.org Cc: Gurucharan Shetty Subiect: [ovs-dev] [PATCH 1/3] ovs-ofctl: Workaround a compiler

[ovs-dev] [PATCH 1/3] ovs-ofctl: Workaround a compiler warning on MSVC.

2014-09-10 Thread Gurucharan Shetty
MSVC complains about a void function returning a value if there is a statement of the form - 'return foo()' even if foo() has a void return type. Signed-off-by: Gurucharan Shetty --- utilities/ovs-ofctl.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/utilities/o