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=1d8c96c6e585b15bfd45668278e675f0b7102da1

commit 1d8c96c6e585b15bfd45668278e675f0b7102da1
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sun Nov 5 00:38:53 2023 +0100

    libdpkg: Remove dead code after non-returning error function call
    
    Warned-by: cppcheck (unreachableCode)
---
 lib/dpkg/fields.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/dpkg/fields.c b/lib/dpkg/fields.c
index 471e6e02e..e62b7b5ba 100644
--- a/lib/dpkg/fields.c
+++ b/lib/dpkg/fields.c
@@ -552,7 +552,6 @@ f_dependency(struct pkginfo *pkg, struct pkgbin *pkgbin,
                         _("'%s' field, reference to '%.255s':\n"
                           " bad version relationship %c%c"),
                         fip->name, depname.buf, c1, c2);
-            dop->verrel = DPKG_RELATION_NONE;
           } else {
             parse_warn(ps,
                        _("'%s' field, reference to '%.255s':\n"

-- 
Dpkg.Org's dpkg

Reply via email to