mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Fix various GCC warnings
- fix overload hiding - handle missing enumeration values in switch - remove extraenous semicolons - always have defaults in color converter switch - fix root cause of stringop warning
This commit is contained in:
@ -607,6 +607,9 @@ u32 CSceneManager::registerNodeForRendering(ISceneNode* node, E_SCENE_NODE_RENDE
|
||||
taken = 1;
|
||||
}
|
||||
|
||||
// as of yet unused
|
||||
case ESNRP_LIGHT:
|
||||
case ESNRP_SHADOW:
|
||||
case ESNRP_NONE: // ignore this one
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user