Re: [ovs-dev] [PATCH 7/7] ovsdb: Fix dead assignment reported by clang.

2016-07-02 Thread Ben Pfaff
On Tue, Jun 28, 2016 at 10:02:28PM -0700, William Tu wrote: > Clang reports variable 'error' never been used. Fix by > returning error when table_update->type != JSON_OBJECT. > > Signed-off-by: William Tu Thanks, applied, except that I changed this to simplify the code slightly: --8<--

[ovs-dev] [PATCH 7/7] ovsdb: Fix dead assignment reported by clang.

2016-06-28 Thread William Tu
Clang reports variable 'error' never been used. Fix by returning error when table_update->type != JSON_OBJECT. Signed-off-by: William Tu --- ovsdb/replication.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ovsdb/replication.c b/ovsdb/replication.c index 3d1bc33..a5f94da 100644 --- a/ovsd