Lint corrections
This commit is contained in:
@@ -1205,6 +1205,8 @@ static inline const std::string &getSubNameWithStyle(const std::string &subName,
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void) tmp;
|
||||
#endif
|
||||
return shadow.first;
|
||||
}
|
||||
@@ -1259,8 +1261,8 @@ PyObject *PropertyLinkSub::getPyObject()
|
||||
Py::List list(static_cast<int>(_cSubList.size()));
|
||||
if (_pcLinkSub) {
|
||||
tup[0] = Py::asObject(_pcLinkSub->getPyObject());
|
||||
int i = 0;
|
||||
#ifdef FC_USE_TNP_FIX
|
||||
int i = 0;
|
||||
for (auto &sub : getSubValues(true))
|
||||
list[i++] = Py::String(sub);
|
||||
#else
|
||||
|
||||
@@ -980,4 +980,3 @@ class TestTopologicalNamingProblem(unittest.TestCase):
|
||||
def tearDown(self):
|
||||
""" Close our test document """
|
||||
App.closeDocument("PartDesignTestTNP")
|
||||
pass
|
||||
Reference in New Issue
Block a user