]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: errors: allow empty va_args for diag variadic macro
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 31 May 2021 12:26:20 +0000 (14:26 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Jun 2021 14:58:15 +0000 (16:58 +0200)
commit01b3c3d4fb634ddf12ae103719b77f965987f037
treeb941cdc2bc474d69aad439614d6b88468f07eaf7
parent64d6c09e54f5deed060ece04ad53a3f5298c0a96
MINOR: errors: allow empty va_args for diag variadic macro

Use the '##' operator to allow the usage of HA_DIAG_WARNING_COND macro
without extra arguments.

This must be backported up to 2.4.
include/haproxy/errors.h