1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-21 18:09:39 +00:00

Merge pull request #2644 from akortunov/master

Initialize variables to avoid GCC warnings
This commit is contained in:
Andrei Kortunov 2019-12-22 10:46:02 +04:00 committed by GitHub
commit 31c5c6d993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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))
{

View file

@ -30,7 +30,7 @@ namespace DetourNavigator
public:
struct Water
{
int mCellSize;
int mCellSize = 0;
btTransform mTransform;
};