diff options
author | Guillem Jover <guillem@debian.org> | 2019-10-02 04:13:19 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-10-30 22:02:48 +0100 |
commit | 032da9675c087abab819d0346765b874e8daf685 (patch) | |
tree | 7bf1ae1a4e00c7a38dcccdb29624a4f4ffcd4f12 /src | |
parent | 8da9c02a82840b6dbcecedfbc8e19264efd4dcbe (diff) | |
download | dpkg-032da9675c087abab819d0346765b874e8daf685.tar.gz |
libdpkg: Use p instead of name in dpkg_arch_name_is_illegal()
We assign name to p, which we operate on everywhere in this function
except for the first check which we still perform on name. This confuses
at least cppcheck, and it's in any case inconsistent.
Warned-by: cppcheck
Fixes: nullPointerRedundantCheck
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions