diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-08-14 15:57:29 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:54:08 +0200 |
commit | 9caabe68c8e53d51c2f3cae59673a2fbc54afa5f (patch) | |
tree | fc8c27067335336be4f26a4e0d3b114ec623f7b6 /giscanner/maintransformer.py | |
parent | a52dd2c3cf240c8b6b621305b2f80d76eadc7a64 (diff) | |
download | gobject-introspection-9caabe68c8e53d51c2f3cae59673a2fbc54afa5f.tar.gz |
giscanner: remove dead code
Last call sites where removed in 36aa515f1036978ced8d4ffb808260844f7229e0
about 3 years ago.
Diffstat (limited to 'giscanner/maintransformer.py')
-rw-r--r-- | giscanner/maintransformer.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index a4f8f730..a614b34b 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -731,20 +731,6 @@ class MainTransformer(object): self._apply_annotations_params(node, node.parameters, block) self._apply_annotations_return(node, node.retval, block) - def _check_arg_annotations(self, parent, params, block): - if block is None: - return - for tag in block.tags.keys(): - if tag == TAG_RETURNS: - continue - for param in params: - if param.argname == tag: - break - else: - message.warn( - "Annotation for '%s' refers to unknown argument '%s'" - % (parent.name, tag)) - def _apply_annotations_field(self, parent, block, field): if not block: return |