Suppress GCC 6 warning about self-comparison

Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
This commit is contained in:
Peter Eisentraut 2016-02-19 23:07:46 -05:00
parent 92d4294d4b
commit a2fd62dd53

View File

@ -86,7 +86,11 @@ skip_drive(const char *path)
bool bool
has_drive_prefix(const char *path) has_drive_prefix(const char *path)
{ {
#ifdef WIN32
return skip_drive(path) != path; return skip_drive(path) != path;
#else
return false;
#endif
} }
/* /*