Commit a2fd62dd authored by Peter Eisentraut's avatar Peter Eisentraut

Suppress GCC 6 warning about self-comparison

Reviewed-by: default avatarThomas Munro <thomas.munro@enterprisedb.com>
parent 92d4294d
...@@ -86,7 +86,11 @@ skip_drive(const char *path) ...@@ -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
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment