summaryrefslogtreecommitdiffstats
path: root/avahi-common/utf8.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-02 02:46:01 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-02 02:46:01 +0200
commit6589afffbb5f484ebc3aa5a7a533eaf0940ac202 (patch)
tree02b8331276c49f9e341a77ae99be0974ef6bfad2 /avahi-common/utf8.c
parent0458aec3b31f7a5c73bab74f131914249c8dd6f6 (diff)
general: various smaller fixes
Diffstat (limited to 'avahi-common/utf8.c')
-rw-r--r--avahi-common/utf8.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/avahi-common/utf8.c b/avahi-common/utf8.c
index fa6a318..ab10ba0 100644
--- a/avahi-common/utf8.c
+++ b/avahi-common/utf8.c
@@ -60,9 +60,6 @@ avahi_utf8_valid (const char *str)
/* done */;
else
{
- const char *last;
-
- last = p;
if ((*(const unsigned char *)p & 0xe0) == 0xc0) /* 110xxxxx */
{
if ( ((*(const unsigned char *)p & 0x1e) == 0))