Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a2fd62d

Browse files
committed
Suppress GCC 6 warning about self-comparison
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
1 parent 92d4294 commit a2fd62d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/port/path.c

+4
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ skip_drive(const char *path)
8686
bool
8787
has_drive_prefix(const char *path)
8888
{
89+
#ifdef WIN32
8990
return skip_drive(path) != path;
91+
#else
92+
return false;
93+
#endif
9094
}
9195

9296
/*

0 commit comments

Comments
 (0)