Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAP_LOCALE_DIRS m_LocaleStaticDirs;
- MAP_LOCALE_DIRS m_LocaleDataDirs;
- void AOSConfiguration::debugDump(....) const
- {
- ....
- for (AOSConfiguration::MAP_LOCALE_DIRS::const_iterator
- cit = m_LocaleStaticDirs.begin();
- cit != m_LocaleDataDirs.end();
- ++cit)
- ....
- }
- This suspicious code was found in Rhino project by PVS-Studio static code analyzer.
- Warning message is:
- V662 Consider inspecting the loop expression. Different containers are utilized for setting up initial and final values of the iterator. aosconfiguration.cpp 93
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment