mirror of
https://github.com/postgres/postgres.git
synced 2026-06-11 09:40:25 -04: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
baf111d31b
commit
949878126e
1 changed files with 4 additions and 0 deletions
|
|
@ -82,7 +82,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 a new issue