[gobject-introspection] scanner: remove unused param_names



commit b96e96263b1497abb0524023334c7804711c789c
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]