src/shared/utf8.c:268:13: warning: unused variable 'd'
[-Wunused-variable]
int d;
---
src/shared/utf8.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/shared/utf8.c b/src/shared/utf8.c
index 67f6285..03a0abe 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;
--
2.1.0
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel