From a30b9d4fdbc5cb958666316647c36f203cf0ecd7 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 24 May 2012 01:56:00 +0000 Subject: [PATCH] assdraw: remove pointless variable that clang barfs on Originally committed to SVN as r6856. --- contrib/assdraw/src/dlgctrl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/assdraw/src/dlgctrl.cpp b/contrib/assdraw/src/dlgctrl.cpp index a96f3b129..9056a10ea 100644 --- a/contrib/assdraw/src/dlgctrl.cpp +++ b/contrib/assdraw/src/dlgctrl.cpp @@ -158,8 +158,7 @@ ASSDrawTransformDlg::ASSDrawTransformDlg(ASSDrawFrame* parent) txtctrl_ny = new wxTextCtrl( this, -1, _T("0.0"), __DPDS__ , wxTE_RIGHT ); sizer_fields->Add(txtctrl_ny, 0, flag_txtctrl, 5); - wxBitmap staticbmp_bmp(wxBITMAP(transform)); - wxStaticBitmap* staticbmp = new wxStaticBitmap( this, -1, staticbmp_bmp, wxDefaultPosition, wxSize(224, 56), 0 ); + wxStaticBitmap* staticbmp = new wxStaticBitmap( this, -1, wxBITMAP(transform), wxDefaultPosition, wxSize(224, 56), 0 ); sizer_main->Add(staticbmp, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); wxStdDialogButtonSizer* sizer_stdbutt = new wxStdDialogButtonSizer;