[SCM] Samba Shared Repository - branch master updated

Michael Adam obnox at samba.org
Thu Nov 19 12:11:03 UTC 2015

The branch, master has been updated
       via  5036c6e build:wafsamba: remove check_orphaned_targets
      from  155eeac lib: Fix memalign_array overflow protection


- Log -----------------------------------------------------------------
commit 5036c6e7447b7ad53886c759a7a3f5c29ae57779
Author: Thomas Nagy <tnagy at waf.io>
Date:   Sat Nov 14 15:23:27 2015 +0100

    build:wafsamba: remove check_orphaned_targets
    The function check_orphaned_targets is not used and has
    no specification, so it can be removed safely.
    Signed-off-by: Thomas Nagy <tnagy at waf.io>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>
    Autobuild-User(master): Michael Adam <obnox at samba.org>
    Autobuild-Date(master): Thu Nov 19 13:10:53 CET 2015 on sn-devel-104


Summary of changes:
 buildtools/wafsamba/samba_deps.py | 19 -------------------
 1 file changed, 19 deletions(-)

Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index 9e5eab7..6976a9a 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -302,23 +302,6 @@ def check_duplicate_sources(bld, tgt_list):
     return True
-def check_orphaned_targets(bld, tgt_list):
-    '''check if any build targets are orphaned'''
-    target_dict = LOCAL_CACHE(bld, 'TARGET_TYPE')
-    debug('deps: checking for orphaned targets')
-    for t in tgt_list:
-        if getattr(t, 'samba_used', False):
-            continue
-        type = target_dict[t.sname]
-        if not type in ['BINARY', 'LIBRARY', 'MODULE', 'ET', 'PYTHON']:
-            if re.search('^PIDL_', t.sname) is None:
-                Logs.warn("Target %s of type %s is unused by any other target" % (t.sname, type))
 def check_group_ordering(bld, tgt_list):
     '''see if we have any dependencies that violate the group ordering
@@ -1151,8 +1134,6 @@ def check_project_rules(bld):
     debug('deps: project rules stage1 completed')
-    #check_orphaned_targets(bld, tgt_list)
     if not check_duplicate_sources(bld, tgt_list):
         Logs.error("Duplicate sources present - aborting")

Samba Shared Repository

More information about the samba-cvs mailing list