diff --git a/src/command_line.py b/src/command_line.py index 94fbbbd..68b5c46 100644 --- a/src/command_line.py +++ b/src/command_line.py @@ -48,7 +48,6 @@ options['p'] = [ 'preprocess' , 'Prints a preprocessed file to standard output options['r'] = [ 'no_directives', 'Ignore all compiler directives !DEC$ and !DIR$', 0 ] options['s'] = [ 'substitute' , 'Substitute values in do loops for generating specific optimized code.', 1 ] options['t'] = [ 'touch' , 'Display which entities are touched when touching the variable given as an argument.', 1 ] -options['u'] = [ 'unused' , 'Print unused providers', 0 ] options['v'] = [ 'version' , 'Prints version of irpf90', 0 ] options['z'] = [ 'openmp' , 'Activate for OpenMP code', 0 ] diff --git a/src/variable.py b/src/variable.py index 9266876..bf462b2 100644 --- a/src/variable.py +++ b/src/variable.py @@ -674,8 +674,6 @@ class Variable(object): from variables import variables if '_needed_by' not in self.__dict__: import parsed_text - if command_line.do_unused and self.needed_by == []: - error.warn(None, "Provider %s is not used"%self.name) result = [] for x in self.needed_by: result.append(x)