From ea6e973ca24b8fb23e9ba6b08768f9264ca0630b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 20 Sep 2012 15:47:03 +0000 Subject: [PATCH] No real changes, just remove an unnecessary variable assignment. Initialize m_gtk_model with its correct value immediately, without setting it to NULL first. Closes #14673. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index ab6ad3f1ff..625f4bd28e 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -3366,7 +3366,6 @@ wxDataViewCtrlInternal::wxDataViewCtrlInternal( wxDataViewCtrl *owner, wxDataVie m_owner = owner; m_wx_model = wx_model; - m_gtk_model = NULL; m_root = NULL; m_sort_order = GTK_SORT_ASCENDING; m_sort_column = -1; -- 2.45.2