mbox series

[0/5] Minor LGTM fixes

Message ID 20190324122121.6430-1-Hi-Angel@yandex.ru
Headers show
Series Minor LGTM fixes | expand

Message

Konstantin Kharlamov March 24, 2019, 12:21 p.m. UTC
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(-)