svn commit: r291453 - head/lib/libfetch

Dimitry Andric dim at FreeBSD.org
Sun Nov 29 22:39:47 UTC 2015


On 29 Nov 2015, at 18:35, Jason Unovitch <jason.unovitch at gmail.com> wrote:
> 
> On Sun, Nov 29, 2015 at 9:27 AM, Dag-Erling Smørgrav <des at freebsd.org> wrote:
>> Author: des
>> Date: Sun Nov 29 14:26:59 2015
>> New Revision: 291453
>> URL: https://svnweb.freebsd.org/changeset/base/291453
...
> `make buildworld` fails after this commit:
> 
> /usr/src/head/lib/libfetch/http.c:1692:25: error: address of array
> 'url->user' will always evaluate to 'true' [-Werro
> r,-Wpointer-bool-conversion]
>                                aparams.user = url->user ?
>                                               ~~~~~^~~~ ~
> /usr/src/head/lib/libfetch/http.c:1694:29: error: address of array
> 'url->pwd' will always evaluate to 'true' [-Werror
> ,-Wpointer-bool-conversion]
>                                aparams.password = url->pwd ?

This should now be fixed by r291461.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20151129/8a2bcecb/attachment.bin>


More information about the svn-src-head mailing list