From 472ca878cf39539214e091c6c973dde3b114c8fe Mon Sep 17 00:00:00 2001 From: Nayuta403 <40540394+Nayuta403@users.noreply.github.com> Date: Wed, 2 Nov 2022 10:32:08 +0800 Subject: [PATCH] Remove unused variable `depth_` (flutter/engine#37109) --- engine/src/flutter/shell/common/pipeline.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/common/pipeline.h b/engine/src/flutter/shell/common/pipeline.h index f9546d0816..e8b17768cb 100644 --- a/engine/src/flutter/shell/common/pipeline.h +++ b/engine/src/flutter/shell/common/pipeline.h @@ -102,7 +102,7 @@ class Pipeline { }; explicit Pipeline(uint32_t depth) - : depth_(depth), empty_(depth), available_(0), inflight_(0) {} + : empty_(depth), available_(0), inflight_(0) {} ~Pipeline() = default; @@ -180,7 +180,6 @@ class Pipeline { } private: - const uint32_t depth_; fml::Semaphore empty_; fml::Semaphore available_; std::atomic inflight_;