cppcheckdata: fixed loading of function data

This commit is contained in:
Daniel Marjamäki 2018-04-03 13:20:21 +02:00
parent dab99e83cd
commit 1270ae2ad8
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ class Function:
self.argument = {} self.argument = {}
self.argumentId = {} self.argumentId = {}
for arg in element: for arg in element:
self.argumentId[arg.get('nr')] = arg.get('id') self.argumentId[int(arg.get('nr'))] = arg.get('variable')
def setId(self, IdMap): def setId(self, IdMap):
for argnr, argid in self.argumentId.items(): for argnr, argid in self.argumentId.items():