]> granicus.if.org Git - multimarkdown/commitdiff
CHANGED: Remove unnecessary code
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Thu, 3 May 2018 19:31:36 +0000 (15:31 -0400)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Thu, 3 May 2018 19:31:36 +0000 (15:31 -0400)
Sources/libMultiMarkdown/epub.c
Sources/libMultiMarkdown/opendocument.c
Sources/libMultiMarkdown/textbundle.c

index c97e8de70bf4fb685b33507224b27b9633bd4c52..31f9af8381b4f9062a16c42037d7526e4b20c370 100644 (file)
@@ -437,8 +437,6 @@ static void add_assets(mz_zip_archive * pZip, mmd_engine * e, const char * direc
                char destination[100] = "OEBPS/assets/";
                destination[49] = '\0';
 
-               mz_bool status;
-
                HASH_ITER(hh, e->asset_hash, a, a_tmp) {
 
                        memcpy(&destination[13], a->asset_path, 36);
index 1edeb45929c0067bdd44bc05827ddbdd8de295a1..e2277233dc0f86c965417921b511923b31238330 100644 (file)
@@ -656,8 +656,6 @@ static void add_assets(mz_zip_archive * pZip, mmd_engine * e, const char * direc
                char destination[100] = "Pictures/";
                destination[45] = '\0';
 
-               mz_bool status;
-
                HASH_ITER(hh, e->asset_hash, a, a_tmp) {
 
                        memcpy(&destination[9], a->asset_path, 36);
index d8ee407533096295d03d141e9f9cf5f1fcf37c92..3d7b6b66013bf9d25033da38435d88e12bc998c2 100644 (file)
@@ -246,8 +246,6 @@ static void add_assets(mz_zip_archive * pZip, mmd_engine * e, const char * direc
                char destination[100] = "assets/";
                destination[43] = '\0';
 
-               mz_bool status;
-
                HASH_ITER(hh, e->asset_hash, a, a_tmp) {
 
                        memcpy(&destination[7], a->asset_path, 36);