summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author rnlee <rnlee@google.com> 2021-08-04 12:28:05 -0700
committer rnlee <rnlee@google.com> 2021-08-04 13:12:29 -0700
commite47d243cb1c209873f9847e69d5dce2df2566702 (patch)
tree350c0a9ea0b690570bc811eda0283ad4bf8d6b6d
parent062070ac111889565b51f3a4fdaa9f4dc837d90e (diff)
Enable -Wconversion for Client.
Bug: 129481165 Test: atest libsurfaceflinger_unittest Change-Id: I7e7ade6a38a02bcc94ff96d90f902b96afa2da9b
-rw-r--r--services/surfaceflinger/Client.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/services/surfaceflinger/Client.cpp b/services/surfaceflinger/Client.cpp
index aac6c913cf..8da2e24aa4 100644
--- a/services/surfaceflinger/Client.cpp
+++ b/services/surfaceflinger/Client.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 <stdint.h>
#include <sys/types.h>
@@ -132,6 +128,3 @@ status_t Client::getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outSt
// ---------------------------------------------------------------------------
}; // namespace android
-
-// TODO(b/129481165): remove the #pragma below and fix conversion issues
-#pragma clang diagnostic pop // ignored "-Wconversion"