Commit 00433053 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

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: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 49554406
......@@ -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();
}
......
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