[Pcre-svn] [1202] code/trunk/pcretest.c: Lose compiler warni…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1202] code/trunk/pcretest.c: Lose compiler warnings.
Revision: 1202
          http://vcs.pcre.org/viewvc?view=rev&revision=1202
Author:   ph10
Date:     2012-11-04 16:13:29 +0000 (Sun, 04 Nov 2012)


Log Message:
-----------
Lose compiler warnings.

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


Modified: code/trunk/pcretest.c
===================================================================
--- code/trunk/pcretest.c    2012-11-04 06:11:18 UTC (rev 1201)
+++ code/trunk/pcretest.c    2012-11-04 16:13:29 UTC (rev 1202)
@@ -1790,6 +1790,8 @@
                FALSE otherwise
 */


+#ifdef NEVER
+
#ifdef SUPPORT_UTF
static BOOL
valid_utf32(pcre_uint32 *string, int length)
@@ -1817,6 +1819,9 @@
}
#endif /* SUPPORT_UTF */

+#endif /* NEVER */
+
+
#endif

/*************************************************
@@ -2106,6 +2111,8 @@
{
int yield = 0;

+(void)(utf); /* Avoid compiler warning */
+
if (length < 0)
length = strlen32(p);