mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-05 20:59:19 +02:00
Suppress GCC 6 warning about self-comparison
Back-patch commit a2fd62dd53
into older branches. Per complaint from Pavel Stehule.
This commit is contained in:
parent
c40bb11559
commit
86ddc12a8d
@ -86,7 +86,11 @@ skip_drive(const char *path)
|
||||
bool
|
||||
has_drive_prefix(const char *path)
|
||||
{
|
||||
#ifdef WIN32
|
||||
return skip_drive(path) != path;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user