summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-12-16 08:48:34 +0530
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-16 00:30:34 -0500
commitb0ceb53a7ddb94269f70b2769bbc72870e574111 (patch)
treea9c19e78f8c6ccff7ce40d2c87d64770cb29e601
parent75836b9d2071aab978ee78d7d797126a18a32052 (diff)
fix compiler warning
src/shared/utf8.c:268:13: warning: unused variable 'd' [-Wunused-variable] int d;
-rw-r--r--src/shared/utf8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/utf8.c b/src/shared/utf8.c
index 67f6285eec..03a0abe44b 100644
--- a/src/shared/utf8.c
+++ b/src/shared/utf8.c
@@ -265,7 +265,6 @@ char *ascii_is_valid(const char *str) {
int utf8_encode_unichar(uint16_t c, char *p) {
uint8_t *t = (uint8_t*) p;
- int d;
if (c < 0x80) {
t[0] = (uint8_t) c;