[glib] regex: Remove message for unused error code
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] regex: Remove message for unused error code
- Date: Mon, 2 Jul 2012 14:07:20 +0000 (UTC)
commit 7ada9765160ce8a41fae0a0e0435ad00a8037601
Author: Christian Persch <chpe gnome org>
Date: Thu Jun 7 15:36:11 2012 +0200
regex: Remove message for unused error code
Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore.
glib/gregex.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]