]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: pattern: silence a warning about uninitialized value
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 15:42:26 +0000 (16:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:51 +0000 (02:23 +0100)
commit668ae532b9edd39907d3e646fb6a8f526116607f
treee8213ee59d916097bef5f6d6b2b47370d5db24d1
parent6173bbee085f1c5c7288056c3e34937c62301e25
BUILD: pattern: silence a warning about uninitialized value

Gcc 3.4 warns that mask may be used uninitialized in pattern.c. This
is wrong since it's used in the same condition as its assignment,
although it's not necessarily obvious for the compiler. Fix this by
initializing the value.

This was introduced by recent commit 01cdcd4a so no backport is needed.
src/pattern.c