| Index: webrtc/tools/agc/agc_test.cc
|
| diff --git a/webrtc/tools/agc/agc_test.cc b/webrtc/tools/agc/agc_test.cc
|
| index a651cb168e85791fe34b88cda3620225de3681c0..e8c4eb8884a09cd1cf1d779fb6b9f7c23b413cbb 100644
|
| --- a/webrtc/tools/agc/agc_test.cc
|
| +++ b/webrtc/tools/agc/agc_test.cc
|
| @@ -91,7 +91,7 @@ void RunAgc() {
|
| ASSERT_TRUE(out_file != NULL);
|
|
|
| int gain_map[256];
|
| - if (FLAGS_gain_file != "") {
|
| + if (!FLAGS_gain_file.empty()) {
|
| FILE* gain_file = fopen(FLAGS_gain_file.c_str(), "rt");
|
| ASSERT_TRUE(gain_file != NULL);
|
| ReadGainMapFromFile(gain_file, FLAGS_gain_offset, gain_map);
|
|
|