From 45ffdef8453ea2088177b8bf821ca3d576853a88 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 16 Jan 2011 13:28:07 +0100 Subject: [PATCH] Closed loophole for undefined variable with new call iso_write_opts_set_untranslated_name_len() --- libisofs/ecma119_tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libisofs/ecma119_tree.c b/libisofs/ecma119_tree.c index ebd21ff..e61d445 100644 --- a/libisofs/ecma119_tree.c +++ b/libisofs/ecma119_tree.c @@ -43,6 +43,7 @@ int get_iso_name(Ecma119Image *img, IsoNode *iso, char **name) if (img->untranslated_name_len > 0) { ascii_name = iso->name; + ret = 1; } else { ret = str2ascii(img->input_charset, iso->name, &ascii_name); free_ascii_name = 1;