summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchTreeWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-23 18:45:26 +0000
committerDavid Robillard <d@drobilla.net>2010-02-23 18:45:26 +0000
commit784dc03a78dc338b45111ebdca45371dfaaa6fa9 (patch)
treef4ff924374bb05fb6ef6c824ca3b61135956c9ec /src/gui/PatchTreeWindow.hpp
parentca809494991686b253679ecf0c0b8b4bf48aa22d (diff)
downloadingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.tar.gz
ingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.tar.bz2
ingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.zip
Fix various code issues discovered by cppcheck.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2484 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchTreeWindow.hpp')
-rw-r--r--src/gui/PatchTreeWindow.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/PatchTreeWindow.hpp b/src/gui/PatchTreeWindow.hpp
index b4f6ec2f..d3286653 100644
--- a/src/gui/PatchTreeWindow.hpp
+++ b/src/gui/PatchTreeWindow.hpp
@@ -88,7 +88,8 @@ class PatchTreeView : public Gtk::TreeView
{
public:
PatchTreeView(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml)
- : Gtk::TreeView(cobject)
+ : Gtk::TreeView(cobject)
+ , _window(NULL)
{}
void set_window(PatchTreeWindow* win) { _window = win; }