[libvirt] [PATCH 03/26] storage: Resolve Coverity UNUSED_VALUE

Peter Krempa pkrempa at redhat.com
Thu Sep 11 08:40:41 UTC 2014


On 09/05/14 00:26, John Ferlan wrote:
> Since cd4d547576a4f0371d1d4d4e0ca6db124c5ba257
> 
> Coverity notes that setting 'ret = -3' prior to the unconditional
> setting of 'ret = 0' will cause the value to be UNUSED.
> 
> Since the comment indicates that it is expect to allow the code
> to continue, just remove the ret = -3 setting.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/storage/storage_backend_fs.c | 1 -
>  1 file changed, 1 deletion(-)
> 

ACK,

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140911/952069e4/attachment-0001.sig>


More information about the libvir-list mailing list