Re: new gcc warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: new gcc warning
Date
Msg-id 19758.1472733098@sss.pgh.pa.us
Whole thread Raw
In response to new gcc warning  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: new gcc warning  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
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?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Oleksandr Shulgin
Date:
Subject: Re: [WIP] Patches to enable extraction state of query execution from external session
Next
From: Michael Paquier
Date:
Subject: Re: pg_basebackup stream xlog to tar