new gcc warning

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: new gcc warning
Date: 2016-09-01 08:18:30
Message-ID: CAFj8pRBLQh0-FydyS9OnWs0OCFTQtYcYEDCnhffoOOa6JUMQ1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Borodin 2016-09-01 08:43:33 Re: GiST penalty functions [PoC]
Previous Message Ashutosh Bapat 2016-09-01 08:17:32 Re: Declarative partitioning - another take