Removed --unused broken option

This commit is contained in:
Anthony Scemama 2015-02-02 10:58:05 +01:00
parent 8b6a22e9a3
commit 700387e56e
2 changed files with 0 additions and 3 deletions

View File

@ -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 ]

View File

@ -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)