]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: vars/compil: fix some warnings
authorThierry FOURNIER <tfournier@arpalert.org>
Tue, 16 Jun 2015 21:52:47 +0000 (23:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Jun 2015 08:42:45 +0000 (10:42 +0200)
commit0b243fd63b78e5e02e7aeb88ebfb997742d15cc1
tree82526afcd202524e0680697b3b65e5cd490d2fa3
parent31c56530b80c00451bc26e85f664a1ba28fc91c1
BUG/MINOR: vars/compil: fix some warnings

A switch case doesn't have default entry, and the compilator sends
a warning about uninitilized var.

   warning: 'vars' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/vars.c