diff options
author | Muxi Yan <mxyan@google.com> | 2016-08-01 13:46:27 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2016-08-01 13:46:27 -0700 |
commit | d915c6e28ae102739ba7c7f4032ff1a6a434ae0e (patch) | |
tree | 6306ebe886908e99689fad9ade946cca74574bae /src/objective-c/tests/Podfile | |
parent | b9be58ee5ac301788a35c26c37fea6f69a0e61fc (diff) |
Suppress warning in all libraries whose names starting with gRPC-Core
Diffstat (limited to 'src/objective-c/tests/Podfile')
-rw-r--r-- | src/objective-c/tests/Podfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/Podfile b/src/objective-c/tests/Podfile index 51dd1b8358..36f25e1bf5 100644 --- a/src/objective-c/tests/Podfile +++ b/src/objective-c/tests/Podfile @@ -82,7 +82,7 @@ post_install do |installer| target.build_configurations.each do |config| config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'YES' end - if target.name == 'gRPC-Core' or target.name == 'gRPC-Core.default-Cronet-Implementation-Cronet-Interface-Tests' or target.name == 'gRPC-Core.default-Cronet-Implementation' + if target.name.start_with?('gRPC-Core') target.build_configurations.each do |config| # TODO(zyc): Remove this setting after the issue is resolved # GPR_UNREACHABLE_CODE causes "Control may reach end of non-void |