Browse Source

Unused variable left behind by f2873a7c

Source commit: 614bd60db0f34ecd22bd0b04622ba7fdc6e2ce21
Martin Prikryl 6 years ago
parent
commit
d0520b1582
1 changed files with 0 additions and 2 deletions
  1. 0 2
      source/windows/WinInterface.cpp

+ 0 - 2
source/windows/WinInterface.cpp

@@ -404,8 +404,6 @@ void __fastcall TMessageTimeout::DoTimer(TObject * /*Sender*/)
   if (FTimeout <= Interval)
   {
     DebugAssert(FButton != NULL);
-    TForm * Dialog = dynamic_cast<TForm *>(FButton->Parent);
-    DebugAssert(Dialog != NULL);
 
     // Needed particularly for "keep up to date" dialog, which does not close on the button click
     Enabled = false;