From d7426238bdd92583181cfbd8d0db4a3a83b05af4 Mon Sep 17 00:00:00 2001 From: Eval Exec Date: Thu, 8 Aug 2024 15:47:38 +0800 Subject: [PATCH] Update mu-store-worker.hh, remove duplicate `;` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix gcc warning: ``` mu4e pre-build [26/198] Compiling C++ object lib/libmu.a.p/mu-query-parser.cc.o 34.390111 mu4e pre-build In file included from ../lib/mu-store.hh:34, 34.390132 mu4e pre-build from ../lib/mu-query-parser.hh:25, 34.390140 mu4e pre-build from ../lib/mu-query-parser.cc:20: 34.390146 mu4e pre-build ../lib/mu-store-worker.hh:162:23: warning: extra ‘;’ [-Wpedantic] 34.390152 mu4e pre-build 162 | Store& store_;; 34.390166 mu4e pre-build | ^ 34.390172 mu4e pre-build | - 34.390177 mu4e pre-build [27/198] Compiling C++ object lib/libmu.a.p/mu-contacts-cache.cc.o 34.538682 ``` --- lib/mu-store-worker.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-store-worker.hh b/lib/mu-store-worker.hh index 6c6ce83bc..45d0be533 100644 --- a/lib/mu-store-worker.hh +++ b/lib/mu-store-worker.hh @@ -159,7 +159,7 @@ private: size_t cleanup_orphans(); QueueType q_; - Store& store_;; + Store& store_; std::thread runner_; std::atomic running_{}; SexpCommandHandler sexp_handler_{};