This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/5] Minor LGTM fixes
- From: Konstantin Kharlamov <Hi-Angel at yandex dot ru>
- To: libc-alpha at sourceware dot org
- Date: Sun, 24 Mar 2019 15:21:16 +0300
- Subject: [PATCH 0/5] Minor LGTM fixes
This series addresses some of LGTM warnings. Source:
https://lgtm.com/projects/g/bminor/glibc/alerts/?mode=tree&ruleFocus=7900090
There is still a lot more to be addressed, but I'm just doing a sweep
over interesting to me projects and will probably come back to the rest
of warnings once this series is merged.
I don't have write access to the repository.
Konstantin Kharlamov (5):
support: don't pass to set_search_path a big struct by value
support: don't pass to resolv_test_start a big struct by value
nss/grp: don't pass src by value to copy_grp
resolv: don't pass struct ns_mst by value
python scripts: don't use "==" to compare to None
grp/grp-merge.c | 24 +++++++++++------------
grp/grp-merge.h | 2 +-
math/gen-tgmath-tests.py | 6 +++---
nptl/nptl-printers.py | 2 +-
nss/getXXbyYY_r.c | 6 +++---
resolv/arpa/nameser.h | 2 +-
resolv/ns_parse.c | 4 ++--
support/resolv_test.c | 41 ++++++++++++++++++++--------------------
support/resolv_test.h | 2 +-
9 files changed, 44 insertions(+), 45 deletions(-)
--
2.21.0