[preservefiles] Simplify code to help gcc warnings

This commit is contained in:
Adriaan de Groot 2021-12-13 15:53:15 +01:00
parent 3be52f8b37
commit 445ed870cc

View File

@ -109,11 +109,8 @@ Item::fromVariant( const QVariant& v, const CalamaresUtils::Permissions& default
return {}; return {};
} }
} }
else cWarning() << "Invalid type for preservefiles, item" << v;
{ return {};
cWarning() << "Invalid type for preservefiles, item" << v;
return {};
}
} }