diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-11-29 12:43:49 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-11-29 12:43:49 +0000 |
commit | 4cb0f557d9fd072206165c84d94a3f44a56dfcf3 (patch) | |
tree | 89610286e243dfbcedcfa9432017701927eb952d /libdm/regex | |
parent | 5f3325fcf11e2821b8b21c3056118f66ba3d04ed (diff) | |
download | lvm2-4cb0f557d9fd072206165c84d94a3f44a56dfcf3.tar.gz |
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.
Diffstat (limited to 'libdm/regex')
-rw-r--r-- | libdm/regex/matcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/regex/matcher.c b/libdm/regex/matcher.c index 17f33a417..0c98fcc30 100644 --- a/libdm/regex/matcher.c +++ b/libdm/regex/matcher.c @@ -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])) |