summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-12-12 17:33:36 +0900
committerDaiki Ueno <ueno@gnu.org>2014-12-12 17:33:36 +0900
commit001ec9db9b1a2c63276dd2c44a3ec0d81b629280 (patch)
tree250807d8ee95331112d4b2ed5f63a7b56463615c /gettext-tools
parent3a0fb4fd5471b2665df343a6c73244c5d63afcee (diff)
downloadexternal_gettext-001ec9db9b1a2c63276dd2c44a3ec0d81b629280.zip
external_gettext-001ec9db9b1a2c63276dd2c44a3ec0d81b629280.tar.gz
external_gettext-001ec9db9b1a2c63276dd2c44a3ec0d81b629280.tar.bz2
desktop: Suppress compiler warning
* read-desktop.c (desktop_parse): Check and ignore token_type_other.
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);
}