Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f77adb1f authored by Tianyu Jiang's avatar Tianyu Jiang
Browse files

Remove unused private field mVrClient from VrCommandEngine

There is a compile warning: private field 'mVrClient' is not used [-Wunused-private-field]

Bug: None
Test: build

Change-Id: I58d2f1f176727ef293067cbc62da4d971f4fc4e5
parent cbdc47ae
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ cc_library_shared {
    "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
    "-Wall",
    "-Werror",
    // mVrClient unused in vr_composer_client.cpp
    "-Wno-error=unused-private-field",
    // Warnings in vr_hwc.cpp to be fixed after sync of goog/master.
    "-Wno-sign-compare",
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ VrComposerClient::createCommandEngine() {
}

VrComposerClient::VrCommandEngine::VrCommandEngine(VrComposerClient& client)
    : ComposerCommandEngine(client.mHal, client.mResources.get()), mVrClient(client),
    : ComposerCommandEngine(client.mHal, client.mResources.get()),
      mVrHal(client.mVrHal) {}

VrComposerClient::VrCommandEngine::~VrCommandEngine() {}
+0 −1
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@ class VrComposerClient : public ComposerClient {

    IVrComposerClient::BufferMetadata readBufferMetadata();

    VrComposerClient& mVrClient;
    android::dvr::VrHwc& mVrHal;

    VrCommandEngine(const VrCommandEngine&) = delete;