new gcc warning - Mailing list pgsql-hackers

From Pavel Stehule
Subject new gcc warning
Date
Msg-id CAFj8pRBLQh0-FydyS9OnWs0OCFTQtYcYEDCnhffoOOa6JUMQ1g@mail.gmail.com
Whole thread Raw
Responses Re: new gcc warning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi

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;
                          ^~
Regards

[pavel@nemesis postgresql]$ gcc --version
gcc (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards

Pavel

pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Declarative partitioning - another take
Next
From: Andrew Borodin
Date:
Subject: Re: GiST penalty functions [PoC]