From c7761eee93c2f4be163acc988f257fe48e8d7acf Mon Sep 17 00:00:00 2001 From: rnlee Date: Wed, 4 Aug 2021 13:01:06 -0700 Subject: Enable -Wconversion for RenderArea. Bug: 129481165 Test: make; atest libsurfaceflinger_unittest Change-Id: I9631fc94f99de2936a44660969b55c2fb055f738 --- services/surfaceflinger/RenderArea.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'services/surfaceflinger/RenderArea.cpp') diff --git a/services/surfaceflinger/RenderArea.cpp b/services/surfaceflinger/RenderArea.cpp index 9a6c8533ea..5fea521f18 100644 --- a/services/surfaceflinger/RenderArea.cpp +++ b/services/surfaceflinger/RenderArea.cpp @@ -14,10 +14,6 @@ * limitations under the License. */ -// TODO(b/129481165): remove the #pragma below and fix conversion issues -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wconversion" - #include "RenderArea.h" namespace android { @@ -33,6 +29,3 @@ float RenderArea::getCaptureFillValue(CaptureFill captureFill) { } } // namespace android - -// TODO(b/129481165): remove the #pragma below and fix conversion issues -#pragma clang diagnostic pop // ignored "-Wconversion" -- cgit v1.2.3-59-g8ed1b