mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 21:39:41 +00:00
Initialize variables to avoid GCC warnings
This commit is contained in:
parent
089548cdc4
commit
cd81f81fb6
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ class TextureOverrideVisitor : public osg::NodeVisitor
|
||||||
|
|
||||||
virtual void apply(osg::Node& node)
|
virtual void apply(osg::Node& node)
|
||||||
{
|
{
|
||||||
int index;
|
int index = 0;
|
||||||
osg::ref_ptr<osg::Node> nodePtr(&node);
|
osg::ref_ptr<osg::Node> nodePtr(&node);
|
||||||
if (node.getUserValue("overrideFx", index))
|
if (node.getUserValue("overrideFx", index))
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace DetourNavigator
|
||||||
public:
|
public:
|
||||||
struct Water
|
struct Water
|
||||||
{
|
{
|
||||||
int mCellSize;
|
int mCellSize = 0;
|
||||||
btTransform mTransform;
|
btTransform mTransform;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue