diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-12-12 17:33:36 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-12-12 17:33:36 +0900 |
commit | 001ec9db9b1a2c63276dd2c44a3ec0d81b629280 (patch) | |
tree | 250807d8ee95331112d4b2ed5f63a7b56463615c /gettext-tools | |
parent | 3a0fb4fd5471b2665df343a6c73244c5d63afcee (diff) | |
download | external_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/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-tools/src/read-desktop.c | 2 |
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); } |