fixed uninitialized variable.

This commit is contained in:
Marco Di Benedetto 2009-05-29 18:32:35 +00:00
parent 8b9f17d14c
commit a4102993bb
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ namespace io {
inline static int findStringListAttribute(QStringList& list,const QDomNode node,const QDomNode poly,const QDomDocument startpoint,const char* token)
{
int offset;
int offset = 0;
if (!node.isNull())
{
offset = node.toElement().attribute("offset").toInt();