diff options
author | Michael Adam <obnox@samba.org> | 2014-12-22 11:30:21 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-01-08 23:38:07 +0100 |
commit | 9f2979a1a42f4714bdc49d09e4b5094333409834 (patch) | |
tree | 4ec1629515606bd9bfe77a912b77292ed9684afe /buildtools | |
parent | ffff95d421e3ca7fa31ec668a2e8fc7fdaee05df (diff) | |
download | samba-9f2979a1a42f4714bdc49d09e4b5094333409834.tar.gz samba-9f2979a1a42f4714bdc49d09e4b5094333409834.tar.xz samba-9f2979a1a42f4714bdc49d09e4b5094333409834.zip |
wafsamba: remove commented out code.
This code has only ever been there as commented out...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_optimisation.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/buildtools/wafsamba/samba_optimisation.py b/buildtools/wafsamba/samba_optimisation.py index 8bd4dd617e..5def580380 100644 --- a/buildtools/wafsamba/samba_optimisation.py +++ b/buildtools/wafsamba/samba_optimisation.py @@ -124,33 +124,6 @@ def hash_constraints(self): return sum Task.TaskBase.hash_constraints = hash_constraints - -# import cc -# from TaskGen import extension -# import Utils - -# @extension(cc.EXT_CC) -# def c_hook(self, node): -# task = self.create_task('cc', node, node.change_ext('.o')) -# try: -# self.compiled_tasks.append(task) -# except AttributeError: -# raise Utils.WafError('Have you forgotten to set the feature "cc" on %s?' % str(self)) - -# bld = self.bld -# try: -# dc = bld.dc -# except AttributeError: -# dc = bld.dc = {} - -# if task.outputs[0].id in dc: -# raise Utils.WafError('Samba, you are doing it wrong %r %s %s' % (task.outputs, task.generator, dc[task.outputs[0].id].generator)) -# else: -# dc[task.outputs[0].id] = task - -# return task - - def hash_env_vars(self, env, vars_lst): idx = str(id(env)) + str(vars_lst) try: |