aboutsummaryrefslogtreecommitdiff
path: root/guilib/Texture.cpp
diff options
context:
space:
mode:
authormonkeyman_67156 <monkeyman_67156@svn>2010-11-02 00:27:24 +0000
committermonkeyman_67156 <monkeyman_67156@svn>2010-11-02 00:27:24 +0000
commitce85f00480401548b7a6195be48a1fc05b933514 (patch)
tree2b38617afbe2f78cf4fdcb91e2e03b2cd75c3d88 /guilib/Texture.cpp
parent19eed274339a9cbc0a5a0f11b18cb369cf70a060 (diff)
Fix Some Clang Static Analysis Warnings, #10612.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35116 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Texture.cpp')
-rw-r--r--guilib/Texture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/guilib/Texture.cpp b/guilib/Texture.cpp
index 3f2a5b22dd..e42daaa0ef 100644
--- a/guilib/Texture.cpp
+++ b/guilib/Texture.cpp
@@ -33,9 +33,6 @@
CBaseTexture::CBaseTexture(unsigned int width, unsigned int height, unsigned int format)
: m_hasAlpha( true )
{
-#ifndef HAS_DX
- m_texture = NULL;
-#endif
m_pixels = NULL;
m_loadedToGPU = false;
Allocate(width, height, format);