[libvirt] [PATCH 3/3] sheepdog: Add Coverity filter

2013-03-05 Thread John Ferlan
Add a Coverity dead_error_condition tag since it's not possible for next to be NULL at that point and thus exit the while loop. If next were NULL the condition to set it would have done the return -1. --- src/storage/storage_backend_sheepdog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [libvirt] [PATCH 3/3] sheepdog: Add Coverity filter

2013-03-05 Thread Eric Blake
On 03/05/2013 05:43 AM, John Ferlan wrote: Add a Coverity dead_error_condition tag since it's not possible for next to be NULL at that point and thus exit the while loop. If next were NULL the condition to set it would have done the return -1. --- src/storage/storage_backend_sheepdog.c | 2