| Index: base/files/file_path.cc
|
| diff --git a/base/files/file_path.cc b/base/files/file_path.cc
|
| index 2c199e131a56ee1976dded1dd25af158ac1c6252..4adfa279dc7cf9af3634b4d286fd71aa55f29a10 100644
|
| --- a/base/files/file_path.cc
|
| +++ b/base/files/file_path.cc
|
| @@ -53,6 +53,8 @@ StringPieceType::size_type FindDriveLetter(StringPieceType path) {
|
| (path[0] >= L'a' && path[0] <= L'z'))) {
|
| return 1;
|
| }
|
| +#else
|
| + (void)path; // Avoid an unused warning.
|
| #endif // FILE_PATH_USES_DRIVE_LETTERS
|
| return StringType::npos;
|
| }
|
| @@ -1319,6 +1321,7 @@ FilePath FilePath::NormalizePathSeparatorsTo(CharType separator) const {
|
| }
|
| return FilePath(copy);
|
| #else
|
| + (void)separator; // Avoid an unused warning.
|
| return *this;
|
| #endif
|
| }
|
|
|