about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-07 07:16:24 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-07 07:16:24 +0000
commit1878e9af924a2dd2eeb4f7bc92710403e41b8638 (patch)
treeb3d76d6016990a77b64016740e99ed09fc9d0ed5
parente946ea2f1407520baba1faee127e1f7dc5ae16d5 (diff)
downloadglibc-1878e9af924a2dd2eeb4f7bc92710403e41b8638.tar.gz
glibc-1878e9af924a2dd2eeb4f7bc92710403e41b8638.tar.xz
glibc-1878e9af924a2dd2eeb4f7bc92710403e41b8638.zip
* posix/regexec.c (find_recover_state): Remove unnecessary
	initialization.
-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;