diff options
author | JosiahWI <josiah_vanderzee@mediacombb.net> | 2021-11-11 15:53:46 -0600 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-11-24 22:07:26 +0100 |
commit | 6d133e1bcc82c8646e0f94132a7e2cf09c840745 (patch) | |
tree | 723a2c681b134a9e1fc5067f3e7abff7d086e0c6 /source/Irrlicht/CSceneManager.cpp | |
parent | d4119ba6640fa96eb0587b46c4a64c2e818818a8 (diff) | |
download | irrlicht-6d133e1bcc82c8646e0f94132a7e2cf09c840745.tar.xz |
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
Diffstat (limited to 'source/Irrlicht/CSceneManager.cpp')
-rw-r--r-- | source/Irrlicht/CSceneManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Irrlicht/CSceneManager.cpp b/source/Irrlicht/CSceneManager.cpp index 849b4e3..3223f4e 100644 --- a/source/Irrlicht/CSceneManager.cpp +++ b/source/Irrlicht/CSceneManager.cpp @@ -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;
}
|