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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy