Skip to content

Commit

Permalink
fix last two PVS-Studio bugs, closes #232
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Feb 14, 2015
1 parent 316d0f1 commit 57d1b49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/client/requestbroker/RequestBroker.cpp
Expand Up @@ -308,7 +308,7 @@ RequestBroker::Request::~Request()
delete (*iter);
iter++;
}
Children.empty();
Children.clear();
}
void RequestBroker::Request::Cleanup()
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/search/SearchView.cpp
Expand Up @@ -339,11 +339,6 @@ void SearchView::NotifyShowOwnChanged(SearchModel * sender)
unpublishSelected->Enabled = true;
removeSelected->Enabled = true;
}
else if(sender->GetShowFavourite())
{
unpublishSelected->Enabled = false;
removeSelected->Enabled = false;
}
else
{
unpublishSelected->Enabled = false;
Expand Down

0 comments on commit 57d1b49

Please sign in to comment.