summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-12-16 08:48:34 +0530
committerAnthony G. Basile <blueness@gentoo.org>2014-12-20 10:04:48 -0500
commit853a86e6a93326f4936b7a25741394d66b555991 (patch)
treee9128637a0f46a155625ed97fbeebac6fa095c65 /src
parentc74cee5a9bf6cbf033d230a448cf606e910a3a9b (diff)
fix compiler warning
src/shared/utf8.c:268:13: warning: unused variable 'd' [-Wunused-variable] int d;
Diffstat (limited to 'src')
-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 4420a45b36..c633686c67 100644
--- a/src/shared/utf8.c
+++ b/src/shared/utf8.c
@@ -179,7 +179,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;