summaryrefslogtreecommitdiff
path: root/base/files/file_path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/files/file_path.cc')
-rw-r--r--base/files/file_path.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/files/file_path.cc b/base/files/file_path.cc
index 9f67f9bc49..8f7fcc2c58 100644
--- a/base/files/file_path.cc
+++ b/base/files/file_path.cc
@@ -53,8 +53,6 @@ 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;
}
@@ -1328,7 +1326,6 @@ FilePath FilePath::NormalizePathSeparatorsTo(CharType separator) const {
}
return FilePath(copy);
#else
- (void)separator; // Avoid an unused warning.
return *this;
#endif
}