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=6dcd1234913f4213ba536a0599c9cba449694cc9 commit 6dcd1234913f4213ba536a0599c9cba449694cc9 (HEAD -> main) Author: Guillem Jover <[email protected]> AuthorDate: Thu Dec 28 20:33:06 2023 +0100 libcompat: Make long_options array const Warned-by: cppcheck (constVariable) --- lib/compat/getopt1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/getopt1.c b/lib/compat/getopt1.c index a8d3dcad9..0ee87b0e3 100644 --- a/lib/compat/getopt1.c +++ b/lib/compat/getopt1.c @@ -90,7 +90,7 @@ main (int argc, char **argv) { int this_option_optind = optind ? optind : 1; int option_index = 0; - static struct option long_options[] = + static const struct option long_options[] = { {"add", 1, 0, 0}, {"append", 0, 0, 0}, -- Dpkg.Org's dpkg

