[gobject-introspection/wip/dieterv/drive-by-review: 8/13] scanner: remove unused param_names



commit 5f96e42365df1d813bad234519079811663d679e
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Tue Apr 21 20:56:55 2015 +0200

    scanner: remove unused param_names
    
    we haven't been emitting the warning for about six
    years (see 7dbbda9abea9882d2c98726f382a905fa8738706)
    so remove the leftovers...

 giscanner/transformer.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index 5f88a61..db8e5a0 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -502,8 +502,6 @@ raise ValueError."""
         return value
 
     def _create_parameters(self, symbol, base_type):
-        # warn if we see annotations for unknown parameters
-        param_names = set(child.ident for child in base_type.child_list)
         for i, child in enumerate(base_type.child_list):
             yield self._create_parameter(symbol, i, child)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]