Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: webrtc/modules/audio_coding/test/PCMFile.h

Issue 2291503002: Fix Chromium clang plugin warnings (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_coding/test/Channel.h ('k') | webrtc/modules/audio_coding/test/PCMFile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/test/PCMFile.h
diff --git a/webrtc/modules/audio_coding/test/PCMFile.h b/webrtc/modules/audio_coding/test/PCMFile.h
index 840933a1bd88c73708cc0f378d17a74fa365ab11..b5ced0bac9845a2bdb32c07c9985ff045faa965f 100644
--- a/webrtc/modules/audio_coding/test/PCMFile.h
+++ b/webrtc/modules/audio_coding/test/PCMFile.h
@@ -26,11 +26,7 @@ class PCMFile {
public:
PCMFile();
PCMFile(uint32_t timestamp);
- ~PCMFile() {
- if (pcm_file_ != NULL) {
- fclose(pcm_file_);
- }
- }
+ ~PCMFile();
void Open(const std::string& filename, uint16_t frequency, const char* mode,
bool auto_rewind = false);
« no previous file with comments | « webrtc/modules/audio_coding/test/Channel.h ('k') | webrtc/modules/audio_coding/test/PCMFile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698