From ff98407ade6697e503ff54fc0a7786b14a9dbda9 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Thu, 21 Dec 2017 21:06:17 +0200 Subject: [PATCH] Dead code removal. --- mesonbuild/mesonlib.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index bc66b5cee..6bf31dbd2 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -881,15 +881,6 @@ def windows_proof_rmtree(f): # Try one last time and throw if it fails. shutil.rmtree(f) -def unholder_array(entries): - result = [] - entries = flatten(entries) - for e in entries: - if hasattr(e, 'held_object'): - e = e.held_object - result.append(e) - return result - def detect_subprojects(spdir_name, current_dir='', result=None): if result is None: