diff --git a/src/kits/storage/mime/SupportingApps.cpp b/src/kits/storage/mime/SupportingApps.cpp index 4689462bb7..495f06e182 100644 --- a/src/kits/storage/mime/SupportingApps.cpp +++ b/src/kits/storage/mime/SupportingApps.cpp @@ -165,10 +165,9 @@ SupportingApps::SetSupportedTypes(const char *app, const BMessage *types, bool f std::set &newTypes = fSupportedTypes[app]; std::set &strandedTypes = fStrandedTypes[app]; // Make a copy of the previous types if we're doing a full sync - if (!err) + if (!err) { oldTypes = newTypes; - if (!err) { // Read through the list of new supported types, creating the new // supported types list and adding the app as a supporting app for // each type.