X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Futf8.c;h=ab10ba06a05238ab8c505fb43939f13c9fb75387;hb=6589afffbb5f484ebc3aa5a7a533eaf0940ac202;hp=fa6a31859bce4d863a5b89bc34a21fbd93119a22;hpb=0458aec3b31f7a5c73bab74f131914249c8dd6f6;p=catta 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))