summaryrefslogtreecommitdiffstats
path: root/gettext-tools/libgettextpo
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-05-12 17:16:11 +0900
committerDaiki Ueno <ueno@gnu.org>2014-05-12 17:16:11 +0900
commit01c736b2bc7ec03f4d690ad699b7abb63c83cd97 (patch)
treeb0b26072b6f769387114b227ca2fe310d75eb96a /gettext-tools/libgettextpo
parent9f9aaacbad0ee83c1c459e08f07625c0528cc791 (diff)
downloadexternal_gettext-01c736b2bc7ec03f4d690ad699b7abb63c83cd97.zip
external_gettext-01c736b2bc7ec03f4d690ad699b7abb63c83cd97.tar.gz
external_gettext-01c736b2bc7ec03f4d690ad699b7abb63c83cd97.tar.bz2
build: Remove unused variables
Diffstat (limited to 'gettext-tools/libgettextpo')
-rw-r--r--gettext-tools/libgettextpo/gettext-po.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gettext-tools/libgettextpo/gettext-po.c b/gettext-tools/libgettextpo/gettext-po.c
index 7eeeaaf..9eceb5b 100644
--- a/gettext-tools/libgettextpo/gettext-po.c
+++ b/gettext-tools/libgettextpo/gettext-po.c
@@ -392,7 +392,6 @@ po_header_set_field (const char *header, const char *field, const char *value)
{
const char *oldvalue_start;
const char *oldvalue_end;
- size_t oldvalue_len;
size_t header_part1_len;
size_t header_part3_len;
size_t result_len;
@@ -404,7 +403,6 @@ po_header_set_field (const char *header, const char *field, const char *value)
oldvalue_end = strchr (oldvalue_start, '\n');
if (oldvalue_end == NULL)
oldvalue_end = oldvalue_start + strlen (oldvalue_start);
- oldvalue_len = oldvalue_end - oldvalue_start;
header_part1_len = oldvalue_start - header;
header_part3_len = header + header_len - oldvalue_end;