Skip to content

Commit

Permalink
interpreterbase: delete stale FIXME
Browse files Browse the repository at this point in the history
We do check the location as part of the "emit a warning only once"
mechanism already, since at least:
d39b330
  • Loading branch information
dcbaker committed Jun 6, 2022
1 parent 46fca7c commit af2ae8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mesonbuild/interpreterbase/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,6 @@ def use(self, subproject: 'SubProject', location: T.Optional['mparser.BaseNode']
feature_key = (self.feature_name, location)
if feature_key in register[self.feature_version]:
# Don't warn about the same feature multiple times
# FIXME: This is needed to prevent duplicate warnings, but also
# means we won't warn about a feature used in multiple places.
return
register[self.feature_version].add(feature_key)
# Target version is new enough, don't warn even if it is registered for notice
Expand Down

0 comments on commit af2ae8e

Please sign in to comment.