]> git.meshlink.io Git - catta/blobdiff - avahi-common/utf8.c
forgot to pull the publish_no_reverse change to the example.
[catta] / avahi-common / utf8.c
index 0fe42d06c5edae635f260945434afec25ce6c233..ab10ba06a05238ab8c505fb43939f13c9fb75387 100644 (file)
@@ -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))