Skip to content

A feature-rich command-line audio/video downloader

[swfinterp] Remove (at the moment) dead code

Philipp Hagemeister7fbf54dc62b4
diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.py
index a6f4ba6e0f..b63c65b201 100644
--- a/youtube_dl/swfinterp.py
+++ b/youtube_dl/swfinterp.py
@@ -470,8 +470,7 @@ class SWFInterpreter(object):
mname = self.multinames[index]
assert isinstance(obj, _AVMClass)
- construct_method = self.extract_function(
- obj, mname)
+
# We do not actually call the constructor for now;
# we just pretend it does nothing
stack.append(obj.make_object())