/[pcre]/code/trunk/pcre16_valid_utf16.c
ViewVC logotype

Diff of /code/trunk/pcre16_valid_utf16.c

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

revision 782 by zherczeg, Sat Dec 3 23:58:37 2011 UTC revision 794 by zherczeg, Thu Dec 8 07:36:41 2011 UTC
# Line 83  Returns:       = 0    if the string is a Line 83  Returns:       = 0    if the string is a
83  int  int
84  PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset)  PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset)
85  {  {
86  #ifdef SUPPORT_UTF16  #ifdef SUPPORT_UTF
87  register PCRE_PUCHAR p;  register PCRE_PUCHAR p;
88  register pcre_uchar c;  register pcre_uchar c;
89    
# Line 135  for (p = string; length-- > 0; p++) Line 135  for (p = string; length-- > 0; p++)
135      }      }
136    }    }
137    
138  #else  /* SUPPORT_UTF16 */  #else  /* SUPPORT_UTF */
139  (void)(string);  /* Keep picky compilers happy */  (void)(string);  /* Keep picky compilers happy */
140  (void)(length);  (void)(length);
141  #endif  #endif /* SUPPORT_UTF */
142    
143  return PCRE_UTF16_ERR0;   /* This indicates success */  return PCRE_UTF16_ERR0;   /* This indicates success */
144  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.5