]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: stats: let gcc know that last_fwd cannot be used uninitialized...
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 18:26:41 +0000 (20:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 18:26:41 +0000 (20:26 +0200)
commitcce3648e89a39de997082acc49efa1fc9b80cd7e
treeb0222fec9d445b8ab6cbef3a3928900f9d0f2202
parent628c40cd961dc096549edc41ddd52f6d4b816c2a
BUILD: stats: let gcc know that last_fwd cannot be used uninitialized...

OK, for once it cannot easily know this one, and certain versions are
emitting this harmless warning :

  src/dumpstats.c: In function 'http_stats_io_handler':
  src/dumpstats.c:4507:19: warning: 'last_fwd' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/dumpstats.c