Merge "Leave only an empty top level OWNERS file." am: 82eac3519a am: 4cc6c9fa1f
am: d1d58ca589
Change-Id: Ib8e42e572f0c64557b4412b18584260be647f55f
diff --git a/webrtc/base/criticalsection.cc b/webrtc/base/criticalsection.cc
index 1f50c23..95b5a99 100644
--- a/webrtc/base/criticalsection.cc
+++ b/webrtc/base/criticalsection.cc
@@ -136,7 +136,7 @@
void GlobalLockPod::Lock() {
#if !defined(WEBRTC_WIN)
- const struct timespec ts_null = {0};
+ const struct timespec ts_null = {0, 0};
#endif
while (AtomicOps::CompareAndSwap(&lock_acquired, 0, 1)) {
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
index 9a3a4b3..8a27a27 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -426,7 +426,7 @@
// Same as above but uses an existing PlatformFile handle. Takes ownership
// of |handle| and closes it at StopDebugRecording().
// TODO(xians): Make this interface pure virtual.
- virtual int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) {
+ virtual int StartDebugRecordingForPlatformFile(rtc::PlatformFile /*handle*/) {
return -1;
}
diff --git a/webrtc/test/testsupport/fileutils.cc b/webrtc/test/testsupport/fileutils.cc
index 15abf5c..850e471 100644
--- a/webrtc/test/testsupport/fileutils.cc
+++ b/webrtc/test/testsupport/fileutils.cc
@@ -95,7 +95,7 @@
}
bool FileExists(std::string& file_name) {
- struct stat file_info = {0};
+ struct stat file_info = {0, 0};
return stat(file_name.c_str(), &file_info) == 0;
}
@@ -192,7 +192,7 @@
}
bool CreateDir(std::string directory_name) {
- struct stat path_info = {0};
+ struct stat path_info = {0, 0};
// Check if the path exists already:
if (stat(directory_name.c_str(), &path_info) == 0) {
if (!S_ISDIR(path_info.st_mode)) {