Skip to content

Commit

Permalink
removed obsolete check
Browse files Browse the repository at this point in the history
  • Loading branch information
benapetr committed Jun 26, 2014
1 parent 3dc3514 commit fca144c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions huggle/warnings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,6 @@ void Warnings::ResendWarnings()
{
Syslog::HuggleLogs->DebugLog("Expired " + warning->Warning->user->Username + " reparsing it now");
// we need to fetch the talk page again and later we need to issue new warning
if (warning->Query != nullptr)
{
Syslog::HuggleLogs->DebugLog("Possible memory leak in MainWindow::ResendWarning: warning->Query != NULL");
}
warning->Query = new Huggle::ApiQuery();
warning->Query->SetAction(ActionQuery);
warning->Query->Parameters = "prop=revisions&rvprop=" + QUrl::toPercentEncoding("timestamp|user|comment|content") +
Expand Down

0 comments on commit fca144c

Please sign in to comment.