8000 Initialize various missing class members. by cosmy1 · Pull Request #1364 · urho3d/urho3d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Initialize various missing class members. #1364

Merged
merged 3 commits into from
May 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Source/Urho3D/Container/HashBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ class URHO3D_API HashBase

/// Construct.
HashBase() :
head_(0),
tail_(0),
ptrs_(0),
allocator_(0)
{
Expand Down
2 changes: 2 additions & 0 deletions Source/Urho3D/Container/ListBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class URHO3D_API ListBase
public:
/// Construct.
ListBase() :
head_(0),
tail_(0),
allocator_(0),
size_(0)
{
Expand Down
4 changes: 3 additions & 1 deletion Source/Urho3D/Resource/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,11 @@ Image::Image(Context* context) :
height_(0),
depth_(0),
components_(0),
numCompressedLevels_(0),
cubemap_(false),
array_(false),
sRGB_(false)
sRGB_(false),
compressedFormat_(CF_NONE)
{
}

Expand Down
1 change: 1 addition & 0 deletions Source/Urho3D/Resource/Image.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ struct CompressedLevel
/// Construct empty.
CompressedLevel() :
data_(0),
format_(CF_NONE),
width_(0),
height_(0),
depth_(0),
Expand Down
0