X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Futf8.c;h=ab10ba06a05238ab8c505fb43939f13c9fb75387;hb=60e78c0afb11eaafbdbe974a7d42751029afff83;hp=0fe42d06c5edae635f260945434afec25ce6c233;hpb=a97605e07ad7f44f2f65e15be64880e61a39ab43;p=catta diff --git a/avahi-common/utf8.c b/avahi-common/utf8.c index 0fe42d0..ab10ba0 100644 --- a/avahi-common/utf8.c +++ b/avahi-common/utf8.c @@ -1,5 +1,3 @@ -/* $Id */ - /* This file is based on the GLIB utf8 validation functions. The * original license text follows. */ @@ -62,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))