diff options
author | Susant Sahani <susant@redhat.com> | 2014-12-16 08:48:34 +0530 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-16 00:30:34 -0500 |
commit | b0ceb53a7ddb94269f70b2769bbc72870e574111 (patch) | |
tree | a9c19e78f8c6ccff7ce40d2c87d64770cb29e601 /src | |
parent | 75836b9d2071aab978ee78d7d797126a18a32052 (diff) | |
download | systemd-b0ceb53a7ddb94269f70b2769bbc72870e574111.tar.gz systemd-b0ceb53a7ddb94269f70b2769bbc72870e574111.tar.bz2 systemd-b0ceb53a7ddb94269f70b2769bbc72870e574111.zip |
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.c | 1 |
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; |