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=8bf492d477208df822e945b8d3516bd02619a074

commit 8bf492d477208df822e945b8d3516bd02619a074
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Oct 30 00:59:08 2025 +0100

    Fix coding style (round two)
    
    Correct issues missed in the global coding style fixes commits.
    
    Fixes: commit 92aebd96e84c2c08965b017d680a4255cb6ca3c6
    Fixes: commit 85d040836406f7162e0951214c632f8bbd807c7c
    Changelog: silent
    Blame-Ignore: yes
---
 dselect/baselist.cc  | 5 +++--
 dselect/main.cc      | 4 ++--
 dselect/methparse.cc | 2 +-
 src/deb/build.c      | 2 +-
 src/main/depcon.c    | 2 +-
 src/main/unpack.c    | 2 +-
 6 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/dselect/baselist.cc b/dselect/baselist.cc
index 323c9218e..9ea807a7e 100644
--- a/dselect/baselist.cc
+++ b/dselect/baselist.cc
@@ -189,7 +189,8 @@ baselist::startdisplay()
        wattrset(whatinfowin, part_attr[whatinfo]);
 
        listpad = newpad(ymax, total_width);
-       if (!listpad) ohshite(_("failed to create baselist pad"));
+       if (!listpad)
+               ohshite(_("failed to create baselist pad"));
 
        colheadspad = newpad(1, total_width);
        if (!colheadspad)
@@ -314,7 +315,7 @@ baselist::baselist(keybindings *kb)
        cursorline = -1;
        ldrawnstart = 0;
        ldrawnend = 0;
-       showinfo= 1;
+       showinfo = 1;
 
        searchstring.reset();
 }
diff --git a/dselect/main.cc b/dselect/main.cc
index 924c38481..019572503 100644
--- a/dselect/main.cc
+++ b/dselect/main.cc
@@ -354,14 +354,14 @@ set_color(const struct cmdinfo*, const char *string)
                colorname = strtok(colors, ",");
                if (colorname != nullptr && strlen(colorname)) {
                        // Normalize attributes to prevent confusion.
-                       color[screenpart].attr= A_NORMAL;
+                       color[screenpart].attr = A_NORMAL;
                        color[screenpart].fore = findintable(colortable,
                                                             colorname,
                                                             _("color"));
                }
                colorname = strtok(nullptr, ",");
                if (colorname != nullptr && strlen(colorname)) {
-                       color[screenpart].attr= A_NORMAL;
+                       color[screenpart].attr = A_NORMAL;
                        color[screenpart].back = findintable(colortable,
                                                             colorname,
                                                             _("color"));
diff --git a/dselect/methparse.cc b/dselect/methparse.cc
index ee6aa0841..3004b62f3 100644
--- a/dselect/methparse.cc
+++ b/dselect/methparse.cc
@@ -321,7 +321,7 @@ getcurrentopt()
                return;
 
        debug(dbg_general, "getcurrentopt() cmethopt opt found");
-       coption= opt;
+       coption = opt;
 }
 
 void
diff --git a/src/deb/build.c b/src/deb/build.c
index cf1234ead..f883cafc7 100644
--- a/src/deb/build.c
+++ b/src/deb/build.c
@@ -133,7 +133,7 @@ file_info_list_append(struct file_info **head, struct 
file_info **tail,
        if (*head == NULL)
                *head = *tail = fi;
        else
-               *tail = (*tail)->next =fi;
+               *tail = (*tail)->next = fi;
 }
 
 /**
diff --git a/src/main/depcon.c b/src/main/depcon.c
index 8d78ec3de..8e31db083 100644
--- a/src/main/depcon.c
+++ b/src/main/depcon.c
@@ -80,7 +80,7 @@ deppossi_pkg_iter_next(struct deppossi_pkg_iterator *iter)
                                pkgbin = &pkg_cur->available;
                        else
                                pkgbin = &pkg_cur->installed;
-                               break;
+                       break;
                default:
                        internerr("unknown which_pkgbin %d", 
iter->which_pkgbin);
                }
diff --git a/src/main/unpack.c b/src/main/unpack.c
index 02a13b29d..57b412368 100644
--- a/src/main/unpack.c
+++ b/src/main/unpack.c
@@ -1114,7 +1114,7 @@ pkg_disappear_others(struct pkginfo *pkg)
                 * run maintainer scripts and things, as we can't back out. But
                 * what can we do? It has to be run this late. */
                pkg_disappear(otherpkg, pkg);
-       } /* while (otherpkg= ... */
+       } /* while (otherpkg = ... */
        pkg_hash_iter_free(iter);
 }
 

-- 
Dpkg.Org's dpkg

Reply via email to