This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=99f5582ed9045e0e6faedcc8b79d430c4350f8da commit 99f5582ed9045e0e6faedcc8b79d430c4350f8da Author: Guillem Jover <[email protected]> AuthorDate: Tue Sep 26 20:18:58 2023 +0200 libdpkg: Initialize TREEWALK_OBJECT with a 0 Using an empty initializer, although supported by most compilers, is a C23 feature. Make its use conditional on whether we are in C23 mode. Warned-by: clang-18 --- lib/dpkg/treewalk.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dpkg/treewalk.h b/lib/dpkg/treewalk.h index 2e1639871..8c14d8018 100644 --- a/lib/dpkg/treewalk.h +++ b/lib/dpkg/treewalk.h @@ -54,7 +54,11 @@ struct treewalk_funcs { treenode_skip_func *skip; }; +#if __STDC_VERSION__ > 201710L #define TREEWALK_OBJECT (struct treewalk_funcs){ } +#else +#define TREEWALK_OBJECT (struct treewalk_funcs){ 0 } +#endif struct treeroot * treewalk_open(const char *rootdir, enum treewalk_options options, -- Dpkg.Org's dpkg

