diff options
author | Guillem Jover <guillem@debian.org> | 2018-06-05 05:28:26 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-08-01 05:36:13 +0200 |
commit | f2a40a75beeb71cd29f3503acdfdf4539379685d (patch) | |
tree | 65944fbf3ea0a8c3138380e9e0aa98494669a8af /dpkg-deb/info.c | |
parent | 1f656230d0599005b4558423ae471e3e0364211b (diff) | |
download | dpkg-f2a40a75beeb71cd29f3503acdfdf4539379685d.tar.gz |
dpkg-deb: Surround condition in ternary operator with parens
This makes it extra clear the precedence of the operators.
Warned-by: cppcheck
Diffstat (limited to 'dpkg-deb/info.c')
-rw-r--r-- | dpkg-deb/info.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |