forked from qt-creator/qt-creator
Fix MSVC compiler warnings
D:\dev\qt-creator\src\plugins\projectexplorer\toolchain.cpp:198: warning: C4138: '*/' found outside of comment D:\dev\qt-creator\src\plugins\pythoneditor\pythoneditorplugin.cpp:217: warning: C4189: 'pCore' : local variable is initialized but not referenced Change-Id: I5e1447e98ac8cbff2c2b8981ddba7e08e7506e24 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
49554406cc
commit
0043305369
@@ -195,7 +195,7 @@ bool ToolChain::fromMap(const QVariantMap &data)
|
||||
\brief Used by the toolchainkitinformation to validate the kit.
|
||||
*/
|
||||
|
||||
QList<Task> ToolChain::validateKit(const Kit */*k*/) const
|
||||
QList<Task> ToolChain::validateKit(const Kit *) const
|
||||
{
|
||||
return QList<Task>();
|
||||
}
|
||||
|
||||
@@ -214,9 +214,7 @@ bool PythonEditorPlugin::initialize(
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
|
||||
Core::ICore *pCore = Core::ICore::instance();
|
||||
|
||||
if (! pCore->mimeDatabase()->addMimeTypes(
|
||||
if (! Core::ICore::mimeDatabase()->addMimeTypes(
|
||||
QLatin1String(RC_PY_MIME_XML),
|
||||
errorMessage))
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ AbstractCustomTool::AbstractCustomTool()
|
||||
{
|
||||
}
|
||||
|
||||
void AbstractCustomTool::selectedItemsChanged(const QList<FormEditorItem *> &itemList)
|
||||
void AbstractCustomTool::selectedItemsChanged(const QList<FormEditorItem *> &)
|
||||
{
|
||||
view()->changeToSelectionTool();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user