src: fixed clang warnings

This commit is contained in:
Eberhard Graether
2017-03-15 12:58:06 +01:00
parent c8404aa83d
commit aa49fffca6
6 changed files with 15 additions and 7 deletions
@@ -40,6 +40,8 @@ void QtProjectWizzardContentBuildFile::populate(QGridLayout* layout, int& row)
name = "Compilation Database";
filter = "JSON Compilation Database (*.json)";
break;
default:
return;
}
QLabel* label = createFormLabel(name);
@@ -68,6 +70,8 @@ void QtProjectWizzardContentBuildFile::load()
case PROJECT_CXX_CDB:
m_picker->setText(QString::fromStdString(cxxSettings->getCompilationDatabasePath().str()));
break;
default:
return;
}
}
}
@@ -94,6 +98,8 @@ void QtProjectWizzardContentBuildFile::save()
cxxSettings->setCompilationDatabasePath(path);
break;
}
default:
return;
}
}
}
@@ -118,6 +124,8 @@ bool QtProjectWizzardContentBuildFile::check()
return false;
}
}
default:
break;
}
return true;