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=4ec4dcd01dba74783744d2dfac34666309aea3eb

commit 4ec4dcd01dba74783744d2dfac34666309aea3eb
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Jul 11 02:54:54 2024 +0200

    libdpkg: Remove unused variable in dpkg_get_pid_execname() on GNU/Hurd
    
    Fixes: commit d6a9bb6951166a7254ab2b4f887c69c4bd4fb1a7
    Warned-by: cppcheck
    Changelog: silent
---
 lib/dpkg/execname.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/dpkg/execname.c b/lib/dpkg/execname.c
index 3f6b14d1b..741ff02ab 100644
--- a/lib/dpkg/execname.c
+++ b/lib/dpkg/execname.c
@@ -97,7 +97,6 @@ dpkg_get_pid_execname(pid_t pid)
        execname = lcontents;
 #elif defined(__GNU__)
        struct proc_stat *ps;
-       const char *filename;
 
        ps = get_proc_stat(pid, PSTAT_ARGS);
        if (ps == NULL)

-- 
Dpkg.Org's dpkg

Reply via email to