freebsd-nq/lib
Dimitry Andric f2c41c554d Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:
lib/libfetch/http.c:1628:26: error: address of array 'purl->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = purl->user ?
                                                   ~~~~~~^~~~ ~
    lib/libfetch/http.c:1630:30: error: address of array 'purl->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = purl->pwd?
                                                       ~~~~~~^~~~
    lib/libfetch/http.c:1657:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1659:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~
    lib/libfetch/http.c:1669:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1671:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~

Since url->user and url->pwd are arrays, they can never be NULL, so the
checks can be removed.

Reviewed by:	bapt
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D2673
2015-06-13 19:26:48 +00:00
..
atf Add META_MODE support. 2015-06-13 19:20:56 +00:00
clang Add META_MODE support. 2015-06-13 19:20:56 +00:00
csu Add META_MODE support. 2015-06-13 19:20:56 +00:00
libalias Add META_MODE support. 2015-06-13 19:20:56 +00:00
libarchive Add META_MODE support. 2015-06-13 19:20:56 +00:00
libauditd Add META_MODE support. 2015-06-13 19:20:56 +00:00
libbegemot Add META_MODE support. 2015-06-13 19:20:56 +00:00
libblocksruntime Add META_MODE support. 2015-06-13 19:20:56 +00:00
libbluetooth Add META_MODE support. 2015-06-13 19:20:56 +00:00
libbsdstat libbsdstat: fix warnings, set WARNS 2014-03-11 01:10:44 +00:00
libbsm Add META_MODE support. 2015-06-13 19:20:56 +00:00
libbsnmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
libbz2 Add META_MODE support. 2015-06-13 19:20:56 +00:00
libc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libc_nonshared Add META_MODE support. 2015-06-13 19:20:56 +00:00
libc++ Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcalendar Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcam Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcapsicum Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcasper Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno. 2015-05-02 17:45:52 +00:00
libclang_rt Upgrade our copy of clang and llvm to 3.6.1 release. 2015-05-25 13:43:03 +00:00
libcom_err Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcompat Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcompiler_rt Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcrypt Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcuse Add META_MODE support. 2015-06-13 19:20:56 +00:00
libcxxrt Add META_MODE support. 2015-06-13 19:20:56 +00:00
libdevctl Add a new device control utility for new-bus devices called devctl. This 2015-02-06 16:09:01 +00:00
libdevinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libdevstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
libdpv Add META_MODE support. 2015-06-13 19:20:56 +00:00
libdwarf Add META_MODE support. 2015-06-13 19:20:56 +00:00
libedit Add META_MODE support. 2015-06-13 19:20:56 +00:00
libefi use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
libelf Add META_MODE support. 2015-06-13 19:20:56 +00:00
libelftc Update to ELF Tool Chain r3223 2015-05-27 14:28:19 +00:00
libevent Add META_MODE support. 2015-06-13 19:20:56 +00:00
libexecinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libexpat Add META_MODE support. 2015-06-13 19:20:56 +00:00
libfetch Fix the following clang 3.7.0 warnings in lib/libfetch/http.c: 2015-06-13 19:26:48 +00:00
libfigpar Add META_MODE support. 2015-06-13 19:20:56 +00:00
libgeom Add META_MODE support. 2015-06-13 19:20:56 +00:00
libgpib Add META_MODE support. 2015-06-13 19:20:56 +00:00
libgpio Add META_MODE support. 2015-06-13 19:20:56 +00:00
libgssapi Add META_MODE support. 2015-06-13 19:20:56 +00:00
libiconv_modules Add META_MODE support. 2015-06-13 19:20:56 +00:00
libipsec Add META_MODE support. 2015-06-13 19:20:56 +00:00
libjail Add META_MODE support. 2015-06-13 19:20:56 +00:00
libkiconv Add META_MODE support. 2015-06-13 19:20:56 +00:00
libkvm Add META_MODE support. 2015-06-13 19:20:56 +00:00
libldns Add META_MODE support. 2015-06-13 19:20:56 +00:00
liblzma Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmagic Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmd Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmemstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmilter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
libmt Add META_MODE support. 2015-06-13 19:20:56 +00:00
libnandfs
libnetbsd Add META_MODE support. 2015-06-13 19:20:56 +00:00
libnetgraph Add META_MODE support. 2015-06-13 19:20:56 +00:00
libngatm Add META_MODE support. 2015-06-13 19:20:56 +00:00
libnv Add META_MODE support. 2015-06-13 19:20:56 +00:00
libohash Add META_MODE support. 2015-06-13 19:20:56 +00:00
libopie Add META_MODE support. 2015-06-13 19:20:56 +00:00
libpam Add META_MODE support. 2015-06-13 19:20:56 +00:00
libpcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
libpjdlog Convert libraries to use LIBADD 2014-11-25 11:07:26 +00:00
libpmc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libproc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libprocstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
libradius Add META_MODE support. 2015-06-13 19:20:56 +00:00
librpcsec_gss Add META_MODE support. 2015-06-13 19:20:56 +00:00
librpcsvc Add META_MODE support. 2015-06-13 19:20:56 +00:00
librt Add META_MODE support. 2015-06-13 19:20:56 +00:00
librtld_db Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsbuf Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsdp Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsm Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsmb Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsmdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsmutil Add META_MODE support. 2015-06-13 19:20:56 +00:00
libsqlite3 Add META_MODE support. 2015-06-13 19:20:56 +00:00
libstand Add META_MODE support. 2015-06-13 19:20:56 +00:00
libstdbuf Add META_MODE support. 2015-06-13 19:20:56 +00:00
libstdthreads Add META_MODE support. 2015-06-13 19:20:56 +00:00
libtacplus Add META_MODE support. 2015-06-13 19:20:56 +00:00
libtelnet Add META_MODE support. 2015-06-13 19:20:56 +00:00
libthr Add META_MODE support. 2015-06-13 19:20:56 +00:00
libthread_db Add META_MODE support. 2015-06-13 19:20:56 +00:00
libucl Add META_MODE support. 2015-06-13 19:20:56 +00:00
libufs Add META_MODE support. 2015-06-13 19:20:56 +00:00
libugidfw Add META_MODE support. 2015-06-13 19:20:56 +00:00
libulog Add META_MODE support. 2015-06-13 19:20:56 +00:00
libunbound Add META_MODE support. 2015-06-13 19:20:56 +00:00
libusb Add META_MODE support. 2015-06-13 19:20:56 +00:00
libusbhid Add META_MODE support. 2015-06-13 19:20:56 +00:00
libutil Add META_MODE support. 2015-06-13 19:20:56 +00:00
libvgl Add META_MODE support. 2015-06-13 19:20:56 +00:00
libvmmapi Add META_MODE support. 2015-06-13 19:20:56 +00:00
libwrap Add META_MODE support. 2015-06-13 19:20:56 +00:00
libxo Add META_MODE support. 2015-06-13 19:20:56 +00:00
liby Add META_MODE support. 2015-06-13 19:20:56 +00:00
libypclnt Add META_MODE support. 2015-06-13 19:20:56 +00:00
libz Add META_MODE support. 2015-06-13 19:20:56 +00:00
msun Add META_MODE support. 2015-06-13 19:20:56 +00:00
ncurses Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile Remove SUBDIR_DEPEND for non-existent libreadline directory 2015-05-24 23:19:47 +00:00
Makefile.inc