Re: new gcc warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new gcc warning
Date: 2016-09-01 12:31:38
Message-ID: 19758.1472733098@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-09-01 12:39:12 Re: pg_basebackup stream xlog to tar
Previous Message Oleksandr Shulgin 2016-09-01 12:09:42 Re: [WIP] Patches to enable extraction state of query execution from external session