Array fix

coverity_scan
scrawl 9 years ago
parent aec8c38461
commit d9290b0ee0

@ -201,7 +201,7 @@ namespace Resource
} }
catch (std::exception& e) catch (std::exception& e)
{ {
static const char * const sMeshTypes[] = { "nif", "osg", "osgt", "osgb", "osgx", "osg2", 0 }; static const char * const sMeshTypes[] = { "nif", "osg", "osgt", "osgb", "osgx", "osg2" };
for (unsigned int i=0; i<sizeof(sMeshTypes)/sizeof(sMeshTypes[0]); ++i) for (unsigned int i=0; i<sizeof(sMeshTypes)/sizeof(sMeshTypes[0]); ++i)
{ {

Loading…
Cancel
Save