From a1b5e35c2257b62c113b8634436ffe67589dc03f Mon Sep 17 00:00:00 2001 From: Daniel Cassidy Date: Thu, 19 Oct 2017 11:01:58 +0100 Subject: [PATCH] Delete unused code. --- src/SWFFile.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/SWFFile.cpp b/src/SWFFile.cpp index b947ba8..2c871e1 100644 --- a/src/SWFFile.cpp +++ b/src/SWFFile.cpp @@ -339,13 +339,6 @@ namespace SWF { xmlFreeDoc(doc); return length; - - fail: - if (doc) { - xmlFreeDoc(doc); - } - - return 0; } #define MAX_BUFFER 1000000