Commit 8303e5d1 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

fix clang warning

parent 47c1c036
......@@ -368,7 +368,7 @@ FlatpakResource * FlatpakBackend::addAppFromFlatpakRef(const QUrl &url)
QSettings settings(url.toLocalFile(), QSettings::NativeFormat);
const QString refurl = settings.value(QStringLiteral("Flatpak Ref/Url")).toString();
g_autoptr(GError) error = NULL;
g_autoptr(GError) error = nullptr;
g_autoptr(FlatpakRemoteRef) remoteRef = nullptr;
{
QFile f(url.toLocalFile());
......
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