Skip to content

Commit

Permalink
Lint corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
bgbsww committed May 3, 2024
1 parent d861b81 commit 2bff3f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/App/PropertyLinks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,8 @@ static inline const std::string &getSubNameWithStyle(const std::string &subName,
return tmp;
}
}
#else
(void) tmp;
#endif
return shadow.first;
}
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -980,4 +980,3 @@ def create_t_sketch(self):
def tearDown(self):
""" Close our test document """
App.closeDocument("PartDesignTestTNP")
pass

0 comments on commit 2bff3f5

Please sign in to comment.