mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Merge pull request #2644 from akortunov/master
Initialize variables to avoid GCC warnings
This commit is contained in:
commit
31c5c6d993
@ -23,7 +23,7 @@ class TextureOverrideVisitor : public osg::NodeVisitor
|
||||
|
||||
virtual void apply(osg::Node& node)
|
||||
{
|
||||
int index;
|
||||
int index = 0;
|
||||
osg::ref_ptr<osg::Node> nodePtr(&node);
|
||||
if (node.getUserValue("overrideFx", index))
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ namespace DetourNavigator
|
||||
public:
|
||||
struct Water
|
||||
{
|
||||
int mCellSize;
|
||||
int mCellSize = 0;
|
||||
btTransform mTransform;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user