[Pcre-svn] [1157] code/trunk/pcre32_valid_utf32.c: Lose comp…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1157] code/trunk/pcre32_valid_utf32.c: Lose compiler warning when UTF not configured.
Revision: 1157
          http://vcs.pcre.org/viewvc?view=rev&revision=1157
Author:   ph10
Date:     2012-10-21 18:22:30 +0100 (Sun, 21 Oct 2012)


Log Message:
-----------
Lose compiler warning when UTF not configured.

Modified Paths:
--------------
    code/trunk/pcre32_valid_utf32.c


Modified: code/trunk/pcre32_valid_utf32.c
===================================================================
--- code/trunk/pcre32_valid_utf32.c    2012-10-21 17:21:19 UTC (rev 1156)
+++ code/trunk/pcre32_valid_utf32.c    2012-10-21 17:22:30 UTC (rev 1157)
@@ -122,6 +122,7 @@
 #else  /* SUPPORT_UTF */
 (void)(string);  /* Keep picky compilers happy */
 (void)(length);
+(void)(erroroffset);
 #endif /* SUPPORT_UTF */


return PCRE_UTF32_ERR0; /* This indicates success */