]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: pattern: a typo breaks automatic acl/map numbering
authorWilly Tarreau <w@1wt.eu>
Sat, 26 Apr 2014 10:37:25 +0000 (12:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 26 Apr 2014 10:41:32 +0000 (12:41 +0200)
commit3b786968584b57659e86964739283b55acfc49da
tree654cfb84c1ddab1b008566626d247affd5610a3e
parent8860dcd70a4bc1c5e7cdba45928f779b03c1cf0d
BUG/MEDIUM: pattern: a typo breaks automatic acl/map numbering

Dmitry Sivachenko reported that nice warning :
src/pattern.c:2243:43: warning: if statement has empty body [-Wempty-body]
                                if (&ref2->list == &pattern_reference);
                                                                      ^
src/pattern.c:2243:43: note: put the semicolon on a separate line to silence
      this warning

It was merged as is with the code from commit af5a29d ("MINOR: pattern:
Each pattern is identified by unique id").

So it looks like we can reassign an ID which is still in use because of
this.
src/pattern.c