[libvirt] [PATCH 6/7] storage_backend: Resolve Coverity issue

Ján Tomko jtomko at redhat.com
Thu Jul 11 12:36:22 UTC 2013


On 07/11/2013 02:34 PM, John Ferlan wrote:
> The switch statement in 'virStorageBackendCreateQemuImgOpts' used the
> for loop end condition 'VIR_STORAGE_FILE_FEATURE_LAST' as a possible value,
> but since that cannot happen Coverity spits out a DEADCODE message. Adding
> the Coverity tag just removes the Coverity message
> ---
>  src/storage/storage_backend.c | 1 +
>  1 file changed, 1 insertion(+)

ACK

Jan




More information about the libvir-list mailing list