about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--posix/regexec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 779b363692..7371ebc21e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-07  Ulrich Drepper  <drepper@redhat.com>
+
+	* posix/regexec.c (find_recover_state): Remove unnecessary
+	initialization.
+
 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
 
 	* timezone/africa: Update from tzdata2005m.
diff --git a/posix/regexec.c b/posix/regexec.c
index f6747a2584..e0b4b175f9 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -2405,7 +2405,7 @@ find_recover_state (err, mctx)
      reg_errcode_t *err;
      re_match_context_t *mctx;
 {
-  re_dfastate_t *cur_state = NULL;
+  re_dfastate_t *cur_state;
   do
     {
       int max = mctx->state_log_top;