mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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
This commit is contained in:
parent
f926804a91
commit
ba3427a019
@ -663,6 +663,7 @@ virStorageBackendCreateQemuImgOpts(char **opts,
|
||||
}
|
||||
break;
|
||||
|
||||
/* coverity[dead_error_begin] */
|
||||
case VIR_STORAGE_FILE_FEATURE_LAST:
|
||||
;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user