projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75836b9
)
fix compiler warning
author
Susant Sahani
<susant@redhat.com>
Tue, 16 Dec 2014 03:18:34 +0000
(08:48 +0530)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 16 Dec 2014 05:30:34 +0000
(
00:30
-0500)
src/shared/utf8.c:268:13: warning: unused variable 'd'
[-Wunused-variable]
int d;
src/shared/utf8.c
patch
|
blob
|
history
diff --git
a/src/shared/utf8.c
b/src/shared/utf8.c
index
67f6285
..
03a0abe
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 d;
if (c < 0x80) {
t[0] = (uint8_t) c;