summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2020-04-29 12:16:04 +0300
committerSunny Kumar <sunkumar@redhat.com>2020-04-30 13:34:43 +0000
commit13f3654bc7f5acd8df38b66ab8c28397dacf405e (patch)
tree0493d5bedca8016f7d40c04498cd33c4c28f2487 /run-tests.sh
parent4faf18006f838bb28b45a5d44edb5fff0439c5ae (diff)
storage/posix: fix initialization warning reported with clang-10
xlators/storage/posix/src/posix-common.c:1440:18: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .validate = GF_OPT_VALIDATE_MAX, ^~~~~~~~~~~~~~~~~~~ xlators/storage/posix/src/posix-common.c:1439:18: note: previous initialization is here .validate = GF_OPT_VALIDATE_MIN, ^~~~~~~~~~~~~~~~~~~ [4 times] Use GF_OPT_VALIDATE_BOTH for min/max-bounded values. Fixes: #1208 Change-Id: I073a27d23176f3b4a126f2eb50c079374a11418d Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Diffstat (limited to 'run-tests.sh')
0 files changed, 0 insertions, 0 deletions