summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/src/ChangeLog5
-rw-r--r--gettext-tools/src/read-desktop.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index 31aa6c4..2268b5f 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -1,5 +1,10 @@
2014-12-12 Daiki Ueno <ueno@gnu.org>
+ * read-desktop.c (desktop_parse): Check and ignore
+ token_type_other.
+
+2014-12-12 Daiki Ueno <ueno@gnu.org>
+
* format-lisp.c (make_intersected_list): Don't dereference
potentially released memory. 'append_repeated_to_initial' may
release the LIST->element. Spotted by clang-analyzer.
diff --git a/gettext-tools/src/read-desktop.c b/gettext-tools/src/read-desktop.c
index b03efe0..8f9243b 100644
--- a/gettext-tools/src/read-desktop.c
+++ b/gettext-tools/src/read-desktop.c
@@ -509,6 +509,8 @@ desktop_parse (desktop_reader_ty *reader, FILE *file,
case token_type_blank:
desktop_reader_handle_blank (reader, token.string);
break;
+ case token_type_other:
+ break;
}
free_token (&token);
}