From 1270ae2ad893071c62e010ab1db0681a31931c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 3 Apr 2018 13:20:21 +0200 Subject: [PATCH] cppcheckdata: fixed loading of function data --- addons/cppcheckdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/cppcheckdata.py b/addons/cppcheckdata.py index 245ea8938..79dbedc21 100755 --- a/addons/cppcheckdata.py +++ b/addons/cppcheckdata.py @@ -324,7 +324,7 @@ class Function: self.argument = {} self.argumentId = {} 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): for argnr, argid in self.argumentId.items():