1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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>
This commit is contained in:
Michael Adam 2014-12-22 11:30:21 +01:00 committed by Jeremy Allison
parent ffff95d421
commit 9f2979a1a4

View File

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