[Pcre-svn] [1155] code/trunk/pcre_exec.c: Lose unused variab…

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


Log Message:
-----------
Lose unused variable warning when UTF not supported.

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


Modified: code/trunk/pcre_exec.c
===================================================================
--- code/trunk/pcre_exec.c    2012-10-21 17:07:04 UTC (rev 1154)
+++ code/trunk/pcre_exec.c    2012-10-21 17:13:28 UTC (rev 1155)
@@ -149,7 +149,9 @@
 {
 PCRE_PUCHAR eptr_start = eptr;
 register PCRE_PUCHAR p = md->start_subject + md->offset_vector[offset];
+#ifdef SUPPORT_UTF
 BOOL utf = md->utf;
+#endif


#ifdef PCRE_DEBUG
if (eptr >= md->end_subject)