[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/9] dfa: remove unnecessary braces
From: |
Jim Meyering |
Subject: |
Re: [PATCH 2/9] dfa: remove unnecessary braces |
Date: |
Tue, 03 Jan 2012 10:09:54 +0100 |
Paolo Bonzini wrote:
> * src/dfa.c (dfastate): Remove unnecessary braces.
> ---
> src/dfa.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
Trivial style adjustment. ACK.
> diff --git a/src/dfa.c b/src/dfa.c
> index 52050e0..d2c24f7 100644
> --- a/src/dfa.c
> +++ b/src/dfa.c
> @@ -2398,9 +2398,7 @@ dfastate (int s, struct dfa *d, int trans[])
> must put it to d->states[s].mbps, which contains the positions
> which can match with a single character not a byte. */
> if (d->states[s].mbps.nelem == 0)
> - {
> - MALLOC(d->states[s].mbps.elems, d->states[s].elems.nelem);
> - }
> + MALLOC(d->states[s].mbps.elems, d->states[s].elems.nelem);
> insert(pos, &(d->states[s].mbps));
> continue;
> }
- [PATCH 0/9] dfa refactorings, Paolo Bonzini, 2012/01/03
- [PATCH 1/9] dfa: x2nrealloc starting from a NULL pointer works, Paolo Bonzini, 2012/01/03
- [PATCH 2/9] dfa: remove unnecessary braces, Paolo Bonzini, 2012/01/03
- Re: [PATCH 2/9] dfa: remove unnecessary braces,
Jim Meyering <=
- [PATCH 3/9] dfa: use MALLOC/REALLOC always, Paolo Bonzini, 2012/01/03
- [PATCH 4/9] dfa: use a separate data type for grps, Paolo Bonzini, 2012/01/03
- [PATCH 5/9] dfa: introduce alloc_posset, Paolo Bonzini, 2012/01/03
- [PATCH 6/9] dfa: remove dead assignment, Paolo Bonzini, 2012/01/03