Suppress GCC 6 warning about self-comparison

Back-patch commit a2fd62dd53
into older branches.  Per complaint from Pavel Stehule.
This commit is contained in:
Tom Lane 2016-09-01 12:48:06 -04:00
parent c40bb11559
commit 86ddc12a8d

View File

@ -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
}
/*