diff options
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 5537438..237cb8f 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -2098,7 +2098,7 @@ void PerlModGenerator::generatePerlModForGroup(GroupDef *gd) { m_output.openList("files"); QListIterator<FileDef> fli(*fl); - FileDef *fd = fl->first(); + FileDef *fd; for (fli.toFirst();(fd=fli.current());++fli) m_output.openHash() .addFieldQuotedString("name", fd->name()) |