Content-Length: 259954 | pFad | http://github.com/postgrespro/postgres_cluster/commit/a2fd62dd53fb606dee69e0f4eb12289c87f5c8b1

41 Suppress GCC 6 warning about self-comparison · postgrespro/postgres_cluster@a2fd62d · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/a2fd62dd53fb606dee69e0f4eb12289c87f5c8b1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy