summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2012-06-07 15:36:11 +0200
committerChristian Persch <chpe@gnome.org>2012-07-02 14:17:34 +0200
commit7ada9765160ce8a41fae0a0e0435ad00a8037601 (patch)
tree80a4c273d6165e8608342dd04c3802d67e9befb8
parent592531019ede1c6d48304ba8babce0a5470d16d7 (diff)
regex: Remove message for unused error code
Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore.
-rw-r--r--glib/gregex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/glib/gregex.c b/glib/gregex.c
index adc1f7dbc..1a1c41b37 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -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: