Fix warnings in frameworks/native/opengl/tests
Bug: 27152043
Change-Id: I66815e6c6d5f30a73db761e801126ca1262ed883
diff --git a/opengl/tests/hwc/hwcCommit.cpp b/opengl/tests/hwc/hwcCommit.cpp
index 1bcb860..6b287e9 100644
--- a/opengl/tests/hwc/hwcCommit.cpp
+++ b/opengl/tests/hwc/hwcCommit.cpp
@@ -70,6 +70,8 @@
* made and reported for each of the known graphic format.
*/
+#define LOG_TAG "hwcCommitTest"
+
#include <algorithm>
#include <assert.h>
#include <cerrno>
@@ -98,7 +100,6 @@
#include <ui/GraphicBuffer.h>
-#define LOG_TAG "hwcCommitTest"
#include <utils/Log.h>
#include <testUtil.h>
@@ -120,8 +121,6 @@
const ColorFract defaultColor(0.5, 0.5, 0.5);
const float defaultAlpha = 1.0; // Opaque
const HwcTestDim defaultSourceDim(1, 1);
-const struct hwc_rect defaultSourceCrop = {0, 0, 1, 1};
-const struct hwc_rect defaultDisplayFrame = {0, 0, 100, 100};
// Global Constants
const uint32_t printFieldWidth = 2;