From 004330536932766a49dcc12bd986a57d73a91c02 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 25 Mar 2013 14:55:32 +0200 Subject: 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 --- src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp') diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index 893fac076d..a800aa3925 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -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)) { -- cgit v1.2.1