[glib/glib-2-70: 11/18] gkeyfile: Remove unreachable code
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-70: 11/18] gkeyfile: Remove unreachable code
- Date: Tue, 19 Oct 2021 06:21:26 +0000 (UTC)
commit da1d64cb4d6d6a7faa12583c16f332964bce95a5
Author: Egor Bychin <e bychin drweb com>
Date: Mon Oct 11 14:10:01 2021 +0300
gkeyfile: Remove unreachable code
glib/gkeyfile.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c
index 56500ccce..17cf85660 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -2259,9 +2259,6 @@ g_key_file_get_locale_string (GKeyFile *key_file,
if (translated_value)
break;
-
- g_free (translated_value);
- translated_value = NULL;
}
/* Fallback to untranslated key
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]