]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage_backend: Resolve Coverity issue
authorJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 14:39:23 +0000 (10:39 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 18:18:12 +0000 (14:18 -0400)
commitba3427a019308ce4ffa41a1ae54ad71036168d51
treeae36cf1c74000b712b8e59130bf2f247431d09ad
parentf926804a91732ed9218000d9a983b928d616ac48
storage_backend: Resolve Coverity issue

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