chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
verbs: when invoking the default verb, pass a faked argv array, with just the verb...
[elogind.git]
/
src
/
shared
/
utf8.c
diff --git
a/src/shared/utf8.c
b/src/shared/utf8.c
index 67f6285eec81fc2df359ef62baf5cb4e646dfb47..03a0abe44b7df0bd05d676476cf38db5412ba800 100644
(file)
--- 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 utf8_encode_unichar(uint16_t c, char *p) {
uint8_t *t = (uint8_t*) p;
- int d;
if (c < 0x80) {
t[0] = (uint8_t) c;
if (c < 0x80) {
t[0] = (uint8_t) c;