Skip to content

Commit

Permalink
Re #5816. Clear gcc compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Sep 25, 2012
1 parent 6a8ce32 commit b35b410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/Mantid/MantidDock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,8 @@ void MantidDockWidget::findAbandonedWorkspaces()
auto ws = Mantid::API::AnalysisDataService::Instance().retrieve( *wsName );
if ( auto group = boost::dynamic_pointer_cast<Mantid::API::WorkspaceGroup>( ws ) )
{
size_t n = static_cast<size_t>( group->getNumberOfEntries() );
for(size_t i = 0; i < n; ++i)
int n = group->getNumberOfEntries();
for(int i = 0; i < n; ++i)
{
if ( i >= group->getNumberOfEntries() )
{
Expand Down

0 comments on commit b35b410

Please sign in to comment.