mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
Get rid of useless VIR_STORAGE_FILE_FEATURE_NONE
It's not used anywhere except for the switch in
virStorageBackendCreateQemuImgOpts, where leaving it in causes
a dead code coverity warning and omitting it breaks compilation
because of unhandled enum value.
Introduced by 6298f74
.
This commit is contained in:
parent
695593fe00
commit
7a99eb912f
@ -666,7 +666,7 @@ virStorageBackendCreateQemuImgOpts(char **opts,
|
||||
goto error;
|
||||
}
|
||||
break;
|
||||
case VIR_STORAGE_FILE_FEATURE_NONE:
|
||||
|
||||
case VIR_STORAGE_FILE_FEATURE_LAST:
|
||||
;
|
||||
}
|
||||
|
@ -53,8 +53,7 @@ enum virStorageFileFormat {
|
||||
VIR_ENUM_DECL(virStorageFileFormat);
|
||||
|
||||
enum virStorageFileFeature {
|
||||
VIR_STORAGE_FILE_FEATURE_NONE = -1,
|
||||
VIR_STORAGE_FILE_FEATURE_LAZY_REFCOUNTS,
|
||||
VIR_STORAGE_FILE_FEATURE_LAZY_REFCOUNTS = 0,
|
||||
|
||||
VIR_STORAGE_FILE_FEATURE_LAST
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user