Re: [ovs-dev] [PATCH] ovsdb-data: Add OVS_WARN_UNUSED_RESULT annotations to function definitions.

2017-12-08 Thread Ben Pfaff
On Fri, Dec 08, 2017 at 01:37:29PM -0800, Gregory Rose wrote: > On 12/8/2017 11:22 AM, Ben Pfaff wrote: > >The function prototypes in ovsdb-data.h already have these, but it seems > >more complete to have the annotation on the definitions too. > > > >Signed-off-by: Ben Pfaff > >---

Re: [ovs-dev] [PATCH] ovsdb-data: Add OVS_WARN_UNUSED_RESULT annotations to function definitions.

2017-12-08 Thread Gregory Rose
On 12/8/2017 11:22 AM, Ben Pfaff wrote: The function prototypes in ovsdb-data.h already have these, but it seems more complete to have the annotation on the definitions too. Signed-off-by: Ben Pfaff --- lib/ovsdb-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[ovs-dev] [PATCH] ovsdb-data: Add OVS_WARN_UNUSED_RESULT annotations to function definitions.

2017-12-08 Thread Ben Pfaff
The function prototypes in ovsdb-data.h already have these, but it seems more complete to have the annotation on the definitions too. Signed-off-by: Ben Pfaff --- lib/ovsdb-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ovsdb-data.c