fixed uninitialized variable.
This commit is contained in:
parent
8b9f17d14c
commit
a4102993bb
|
@ -452,7 +452,7 @@ namespace io {
|
||||||
|
|
||||||
inline static int findStringListAttribute(QStringList& list,const QDomNode node,const QDomNode poly,const QDomDocument startpoint,const char* token)
|
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())
|
if (!node.isNull())
|
||||||
{
|
{
|
||||||
offset = node.toElement().attribute("offset").toInt();
|
offset = node.toElement().attribute("offset").toInt();
|
||||||
|
|
Loading…
Reference in New Issue