Commit 673066f7 authored by Elvis Angelaccio's avatar Elvis Angelaccio

GIT_SILENT Initialize variable

parent af08802e
...@@ -71,7 +71,7 @@ Archive *Archive::create(const QString &fileName, const QString &fixedMimeType, ...@@ -71,7 +71,7 @@ Archive *Archive::create(const QString &fileName, const QString &fixedMimeType,
return new Archive(NoPlugin, parent); return new Archive(NoPlugin, parent);
} }
Archive *archive; Archive *archive = Q_NULLPTR;
foreach (Plugin *plugin, offers) { foreach (Plugin *plugin, offers) {
archive = create(fileName, plugin, parent); archive = create(fileName, plugin, parent);
// Use the first valid plugin, according to the priority sorting. // Use the first valid plugin, according to the priority sorting.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment