summaryrefslogtreecommitdiffstats
path: root/COPYING-LGPLV3
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2020-04-29 10:47:31 +0300
committerAmar Tumballi <amar@kadalu.io>2020-05-01 04:26:36 +0000
commit11ea746d0813e9599c2c8d0c36fcd7be5d25ac65 (patch)
tree9c14811a696b6a09b4720998cda5f496e3187e86 /COPYING-LGPLV3
parentb0f41bc56d3867dc4cf2125d8ae87ddff2593229 (diff)
cluster/ec: Fix varargs warning reported with clang-10
Found with clang-10 -Wvarargs: xlators/cluster/ec/src/ec-combine.c:360:20: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(args, global); ^ xlators/cluster/ec/src/ec-combine.c:348:34: note: parameter of type 'bool' is declared here gf_boolean_t global, ...) According to The C11 Standard, 7.16.1.4p4: If the parameter parmN is declared with the register storage class, with a function or array type, or with a type that is not compatible with the type that results after application of the default argument promotions, the behavior is undefined. Fixes: #1207 Change-Id: I527527845b2d574000d736c278be87cf19504761 Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Diffstat (limited to 'COPYING-LGPLV3')
0 files changed, 0 insertions, 0 deletions