summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-12-20 11:18:56 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-12-20 11:19:11 +0100
commit0c36c975abe78f44769a8b4a58f29b12dd3952bf (patch)
tree414faea4aca444ace05ab9314da56865a03d9bce /src/utils
parentd93d83cec0e4232924a098b11f391abcf903075e (diff)
downloadmana-0c36c975abe78f44769a8b4a58f29b12dd3952bf.tar.gz
mana-0c36c975abe78f44769a8b4a58f29b12dd3952bf.tar.bz2
mana-0c36c975abe78f44769a8b4a58f29b12dd3952bf.tar.xz
mana-0c36c975abe78f44769a8b4a58f29b12dd3952bf.zip
Fixed an uninitialized pointer
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index 4d85e87f..63487215 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -34,7 +34,7 @@ namespace XML
mDoc(0)
{
int size;
- char *data;
+ char *data = NULL;
if (useResman)
{
ResourceManager *resman = ResourceManager::getInstance();