summaryrefslogtreecommitdiff
path: root/src/plugins/bineditor
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-08-04 14:01:20 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-08-04 14:49:41 +0200
commit0dcadd449fead2654ca7fda3a794bd6dc4b2033c (patch)
tree8fcf8a82fbc75188e53bfaa6a42d534471275a61 /src/plugins/bineditor
parent3f3ff2bcdc72006331d5910969c447a5219c8702 (diff)
downloadqt-creator-0dcadd449fead2654ca7fda3a794bd6dc4b2033c.tar.gz
CppCheck: Initialize pointer member in the constructor
Change-Id: If98a66e77e47167b77e45c38682b818f41205e19 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/bineditor')
-rw-r--r--src/plugins/bineditor/bineditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp
index b5867192c3..3d88b68339 100644
--- a/src/plugins/bineditor/bineditorplugin.cpp
+++ b/src/plugins/bineditor/bineditorplugin.cpp
@@ -440,7 +440,7 @@ QWidget *BinEditorWidgetFactory::createWidget(QWidget *parent)
///////////////////////////////// BinEditorPlugin //////////////////////////////////
-BinEditorPlugin::BinEditorPlugin()
+BinEditorPlugin::BinEditorPlugin() : m_factory(0)
{
m_undoAction = m_redoAction = m_copyAction = m_selectAllAction = 0;
}