[preservefiles] Simplify code to help gcc warnings
This commit is contained in:
parent
3be52f8b37
commit
445ed870cc
@ -109,11 +109,8 @@ Item::fromVariant( const QVariant& v, const CalamaresUtils::Permissions& default
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
cWarning() << "Invalid type for preservefiles, item" << v;
|
cWarning() << "Invalid type for preservefiles, item" << v;
|
||||||
return {};
|
return {};
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user