summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-12-08 18:27:58 +0900
committerDaiki Ueno <ueno@gnu.org>2015-12-08 18:27:58 +0900
commit77637e39456d902adcb9a67729edbe96204a6e90 (patch)
treeb048184e2b0c1be65d7f702eac85988e12753d4b
parentb3c2a5a242c36fbbaa0c5b17f975d6c638598a23 (diff)
downloadexternal_gettext-77637e39456d902adcb9a67729edbe96204a6e90.zip
external_gettext-77637e39456d902adcb9a67729edbe96204a6e90.tar.gz
external_gettext-77637e39456d902adcb9a67729edbe96204a6e90.tar.bz2
build: Suppress compiler warning
* gettext-tools/src/its.c (its_rule_list_extract_text): Remove unused local variable "message".
-rw-r--r--gettext-tools/src/its.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gettext-tools/src/its.c b/gettext-tools/src/its.c
index 6843aac..394b5f0 100644
--- a/gettext-tools/src/its.c
+++ b/gettext-tools/src/its.c
@@ -1733,7 +1733,6 @@ its_rule_list_extract_text (its_rule_list_ty *rules,
if (*msgid != '\0')
{
lex_pos_ty pos;
- message_ty *message;
char *marker;
pos.file_name = xstrdup (logical_filename);
@@ -1759,8 +1758,7 @@ its_rule_list_extract_text (its_rule_list_ty *rules,
msgctxt = NULL;
}
- message = callback (mlp, msgctxt, msgid, &pos, comment, marker,
- whitespace);
+ callback (mlp, msgctxt, msgid, &pos, comment, marker, whitespace);
free (marker);
}
free (msgctxt);