Commit a7e6cc57 authored by Don Gagne's avatar Don Gagne

Add Q_UNUSED to variable only used in Q_ASSERT

Should have known better!
parent 1aa044cc
......@@ -156,6 +156,7 @@ bool QGCApplication::init(void)
Q_ASSERT(documentsDir.exists());
bool pathCreated = documentsDir.mkpath(_defaultSavedFileDirectoryName);
Q_UNUSED(pathCreated);
Q_ASSERT(pathCreated);
savedFilesLocation = documentsDir.filePath(_defaultSavedFileDirectoryName);
settings.setValue(_savedFilesLocationKey, savedFilesLocation);
......
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