From 73b9077ab08860ccbe57f2fcf474446b723d636f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Mon, 21 Aug 2023 10:13:43 +0200 Subject: [PATCH] SyntaxTest: Default-initialize boolean fields without showing the value - These get re-initialized in constructor anyway. The only purpose if initializing here is our convention to always initialize primitive types at declaration time. We don't want to have to repeat the defaults though. --- test/libsolidity/SyntaxTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h index f4ca6d9bc..f9fd65319 100644 --- a/test/libsolidity/SyntaxTest.h +++ b/test/libsolidity/SyntaxTest.h @@ -48,7 +48,7 @@ protected: void parseAndAnalyze() override; virtual void filterObtainedErrors(); - bool m_optimiseYul = true; + bool m_optimiseYul{}; }; }