Lint corrections

This commit is contained in:
bgbsww
2024-05-03 12:07:02 -04:00
parent d861b81c51
commit 2bff3f5343
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -980,4 +980,3 @@ class TestTopologicalNamingProblem(unittest.TestCase):
def tearDown(self):
""" Close our test document """
App.closeDocument("PartDesignTestTNP")
pass