mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 11:53:32 +01:00
Removed --unused broken option
This commit is contained in:
parent
8b6a22e9a3
commit
700387e56e
@ -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 ]
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user