dissect: getenv_fstype() is unused when LIBBLKID support is disabled
Follow-up for aad0d11e7c.
This commit is contained in:
@@ -118,6 +118,7 @@ int dissect_fstype_ok(const char *fstype) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#if HAVE_BLKID
|
||||
static const char *getenv_fstype(PartitionDesignator d) {
|
||||
|
||||
if (d < 0 ||
|
||||
@@ -128,6 +129,7 @@ static const char *getenv_fstype(PartitionDesignator d) {
|
||||
char *v = strjoina("SYSTEMD_DISSECT_FSTYPE_", partition_designator_to_string(d));
|
||||
return secure_getenv(ascii_strupper(v));
|
||||
}
|
||||
#endif
|
||||
|
||||
int probe_sector_size(int fd, uint32_t *ret) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user