~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/utils/xml.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-07-11 10:09:41 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130711100941-f0rwuvcwgl8ulqo8
Tags: 1.3.7.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    Document::Document(const std::string &filename, const bool useResman) :
45
45
        mDoc(nullptr)
46
46
    {
47
 
        int size;
 
47
        int size = 0;
48
48
        char *data = nullptr;
49
49
        if (useResman)
50
50
        {