Index: webrtc/modules/audio_processing/transient/transient_suppression_test.cc |
diff --git a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc |
index fdc56867637cce04f5270c823e224c73430904d6..506abaf2036843497cf2543745729ad714ceef35 100644 |
--- a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc |
+++ b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc |
@@ -150,13 +150,13 @@ void void_main() { |
// Prepare the detection file. |
FILE* detection_file = NULL; |
- if (FLAGS_detection_file_name != "") { |
+ if (!FLAGS_detection_file_name.empty()) { |
detection_file = fopen(FLAGS_detection_file_name.c_str(), "rb"); |
} |
// Prepare the reference file. |
FILE* reference_file = NULL; |
- if (FLAGS_reference_file_name != "") { |
+ if (!FLAGS_reference_file_name.empty()) { |
reference_file = fopen(FLAGS_reference_file_name.c_str(), "rb"); |
} |