| Index: testing/coverage_util_ios.cc
|
| diff --git a/testing/coverage_util_ios.cc b/testing/coverage_util_ios.cc
|
| index 15ac1b4a0a89a99b700d6c2e24624db753805602..d888a208ce150be8e422e12025ce7e18d6cbe15f 100644
|
| --- a/testing/coverage_util_ios.cc
|
| +++ b/testing/coverage_util_ios.cc
|
| @@ -2,12 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -extern "C" void __gcov_flush();
|
| +extern "C" void __gcov_flush(void);
|
|
|
| namespace coverage_util {
|
|
|
| void FlushCoverageDataIfNecessary() {
|
| -#if defined(ENABLE_TEST_CODE_COVERAGE)
|
| +#if !defined(NDEBUG) && defined(ENABLE_TEST_CODE_COVERAGE)
|
| __gcov_flush();
|
| #endif
|
| }
|
|
|