regex: Remove message for unused error code
authorChristian Persch <chpe@gnome.org>
Thu, 7 Jun 2012 13:36:11 +0000 (15:36 +0200)
committerChristian Persch <chpe@gnome.org>
Mon, 2 Jul 2012 12:17:34 +0000 (14:17 +0200)
Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore.

glib/gregex.c

index adc1f7dbcbf02e205abe39bed7f6c2d779a97078..1a1c41b37748da19cc3bc3b5b0fc42ddb8e5772a 100644 (file)
@@ -256,8 +256,6 @@ match_error (gint errcode)
     case PCRE_ERROR_DFA_RECURSE:
     case PCRE_ERROR_RECURSIONLIMIT:
       return _("recursion limit reached");
-    case PCRE_ERROR_NULLWSLIMIT:
-      return _("workspace limit for empty substrings reached");
     case PCRE_ERROR_BADNEWLINE:
       return _("invalid combination of newline flags");
     case PCRE_ERROR_BADOFFSET: