Changeset 187

Show
Ignore:
Timestamp:
01/26/09 17:21:04 (20 months ago)
Author:
svnusers
Message:

Don't dereference empty container.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/branches/users/kenneth_porter/FromTrunk/Sources_Common/Offline/Mail/CLocalClient.cp

    r143 r187  
    36493649 
    36503650                unsigned long pos = 0; 
    3651                 for(SIndexList::const_iterator iter = mIndexList.begin(); iter != mIndexList.end(); iter++, pos++) 
     3651                for(SIndexList::const_iterator iter = mIndexList.begin(); (indices.size() > 0) && (iter != mIndexList.end()); iter++, pos++) 
    36523652                { 
    36533653                        if (pos == indices.front())