Remove unused variable, fixing unix build warning

This commit is contained in:
Zach Fox 2018-11-09 10:40:46 -08:00 committed by GitHub
parent 5cf2041c65
commit df7486d0f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,7 @@ void GeometryReader::run() {
} else { } else {
throw QString("url is invalid"); throw QString("url is invalid");
} }
} catch (const QString& error) { } catch {
auto resource = _resource.toStrongRef(); auto resource = _resource.toStrongRef();
if (resource) { if (resource) {