Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9498781

Browse files
committed
Suppress GCC 6 warning about self-comparison
Back-patch commita2fd62dinto older branches. Per complaint from Pavel Stehule.
1 parentbaf111d commit9498781

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
@@ -82,7 +82,11 @@ skip_drive(const char *path)
8282
bool
8383
has_drive_prefix(constchar*path)
8484
{
85+
#ifdefWIN32
8586
returnskip_drive(path)!=path;
87+
#else
88+
return false;
89+
#endif
8690
}
8791

8892
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp