This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=f2a40a75beeb71cd29f3503acdfdf4539379685d

commit f2a40a75beeb71cd29f3503acdfdf4539379685d
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Jun 5 05:28:26 2018 +0200

    dpkg-deb: Surround condition in ternary operator with parens
    
    This makes it extra clear the precedence of the operators.
    
    Warned-by: cppcheck
---
 dpkg-deb/info.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index 07caecfd5..0229f3a91 100644
--- a/dpkg-deb/info.c
+++ b/dpkg-deb/info.c
@@ -160,7 +160,8 @@ info_list(const char *debar, const char *dir)
         ohshite(_("failed to read '%.255s' (in '%.255s')"), cdep->d_name, dir);
       fclose(cc);
       printf(_(" %7jd bytes, %5d lines   %c  %-20.127s %.127s\n"),
-             (intmax_t)stab.st_size, lines, S_IXUSR & stab.st_mode ? '*' : ' ',
+             (intmax_t)stab.st_size, lines,
+             (S_IXUSR & stab.st_mode) ? '*' : ' ',
              cdep->d_name, interpreter);
     } else {
       printf(_("     not a plain file          %.255s\n"), cdep->d_name);

-- 
Dpkg.Org's dpkg

Reply via email to