summaryrefslogtreecommitdiff
path: root/giscanner/maintransformer.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-14 15:57:29 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:54:08 +0200
commit9caabe68c8e53d51c2f3cae59673a2fbc54afa5f (patch)
treefc8c27067335336be4f26a4e0d3b114ec623f7b6 /giscanner/maintransformer.py
parenta52dd2c3cf240c8b6b621305b2f80d76eadc7a64 (diff)
downloadgobject-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.py14
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