From: Christian Persch Date: Thu, 7 Jun 2012 13:36:11 +0000 (+0200) Subject: regex: Remove message for unused error code X-Git-Tag: 2.33.4~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ada9765160ce8a41fae0a0e0435ad00a8037601;p=platform%2Fupstream%2Fglib.git regex: Remove message for unused error code Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore. --- diff --git a/glib/gregex.c b/glib/gregex.c index adc1f7d..1a1c41b 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: