/[pcre]/code/branches/pcre16/pcre_valid_utf8.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_valid_utf8.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 794 by zherczeg, Sat Dec 3 07:58:30 2011 UTC revision 795 by zherczeg, Sat Dec 10 02:20:06 2011 UTC
# Line 105  Returns:       = 0    if the string is a Line 105  Returns:       = 0    if the string is a
105  int  int
106  PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset)  PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset)
107  {  {
108  #ifdef SUPPORT_UTF8  #ifdef SUPPORT_UTF
109  register PCRE_PUCHAR p;  register PCRE_PUCHAR p;
110    
111  if (length < 0)  if (length < 0)
# Line 288  for (p = string; length-- > 0; p++) Line 288  for (p = string; length-- > 0; p++)
288      }      }
289    }    }
290    
291  #else  /* SUPPORT_UTF8 */  #else  /* SUPPORT_UTF */
292  (void)(string);  /* Keep picky compilers happy */  (void)(string);  /* Keep picky compilers happy */
293  (void)(length);  (void)(length);
294  #endif  #endif

Legend:
Removed from v.794  
changed lines
  Added in v.795

  ViewVC Help
Powered by ViewVC 1.1.5