[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.6.3-79-gce88edc

From: Paolo Bonzini
Subject: grep branch, master, updated. v2.6.3-79-gce88edc
Date: Fri, 27 Aug 2010 08:03:37 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  ce88edce453696be4226b70b746e13525721b3f0 (commit)
      from  9c45c193825d1f59e1d341e556ecf4adeb7a03a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit ce88edce453696be4226b70b746e13525721b3f0
Author: Adam Katz <address@hidden>
Date:   Fri Aug 27 10:02:07 2010 +0200

    Remove declaration after statement in dfa.c
    * dfa.c (dfaexec): Declare saved_end at the beginning of the function.

diff --git a/src/dfa.c b/src/dfa.c
index f53e797..5da59d8 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -3171,6 +3171,7 @@ dfaexec (struct dfa *d, char const *begin, char *end,
   int **trans, *t;     /* Copy of d->trans so it can be optimized
                                    into a register. */
   unsigned char eol = eolbyte; /* Likewise for eolbyte.  */
+  unsigned char saved_end;
   static int sbit[NOTCHAR];    /* Table for anding with d->success. */
   static int sbit_init;
@@ -3190,7 +3191,7 @@ dfaexec (struct dfa *d, char const *begin, char *end,
   s = s1 = 0;
   p = (unsigned char const *) begin;
   trans = d->trans;
-  unsigned char saved_end = *(unsigned char *) end;
+  saved_end = *(unsigned char *) end;
   *end = eol;


Summary of changes:
 src/dfa.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]