1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-07 21:18:59 +03:00

Remove dead assignment in _step_matcher

'ns' is not used after this assignment and it is reassigned with the following
code, so dropping this assignment.
This commit is contained in:
Zdenek Kabelac 2010-11-29 12:43:49 +00:00
parent 5f3325fcf1
commit 4cb0f557d9

View File

@ -372,7 +372,7 @@ static struct dfa_state *_step_matcher(struct dm_regex *m, int c, struct dfa_sta
{
struct dfa_state *ns;
if (!(ns = cs->lookup[(unsigned char) c]))
if (!cs->lookup[(unsigned char) c])
_calc_state(m, cs, (unsigned char) c);
if (!(ns = cs->lookup[(unsigned char) c]))