Re: new gcc warning - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: new gcc warning
Date
Msg-id CAFj8pRD1=NQZBuzqC0-4kSaiTmFe-4sUV6L+BnFK79edjBN+YA@mail.gmail.com
Whole thread Raw
In response to Re: new gcc warning  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: new gcc warning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


2016-09-01 14:31 GMT+02:00 Tom Lane <tgl@sss.pgh.pa.us>:
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I see a new warning in upstream

> r/include/libxml2   -c -o path.o path.c
> path.c: In function ‘has_drive_prefix’:
> path.c:89:26: warning: self-comparison always evaluates to false
> [-Wtautological-compare]
>   return skip_drive(path) != path;
>                           ^~

That should have gone away in commit a2fd62dd5.  What version are
you looking at?


I am checking 9.5 branch and I cannot to find this commit there

Regards

Pavel
 
                        regards, tom lane

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WAL consistency check facility
Next
From: Tom Lane
Date:
Subject: Re: new gcc warning