[libvirt] [PATCH] util: removing dead code inside virstoragefile.

Peter Krempa pkrempa at redhat.com
Fri Jun 2 07:38:51 UTC 2017


On Thu, Jun 01, 2017 at 22:56:09 -0300, Julio Faracco wrote:
> The host address or the socket path have already been checked at the begining 
> of the function virStorageSourceParseNBDColonString(). So, when the parameter 
> is not a unix socket, there is no reason to check the address again because 
> if it does not exists, the logic will fail in the first IF conditional.
> 
> Signed-off-by: Julio Faracco <jcfaracco at gmail.com>
> ---
>  src/util/virstoragefile.c | 7 -------
>  1 file changed, 7 deletions(-)

ACK, I'll push this in a while.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170602/d30f5d7b/attachment-0001.sig>


More information about the libvir-list mailing list