From f23a14afc7e221355ffe758fdc5b489f746792d2 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Fri, 17 Jan 2025 00:01:06 -0500 Subject: [PATCH] Remove unnecessary semicolons after closing braces --- include/asm/fstack.hpp | 2 +- src/link/object.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm/fstack.hpp b/include/asm/fstack.hpp index ccb74190..53eba43f 100644 --- a/include/asm/fstack.hpp +++ b/include/asm/fstack.hpp @@ -41,7 +41,7 @@ struct FileStackNode { std::string const &name() const { return data.get(); } FileStackNode(FileStackNodeType type_, Either, std::string> data_) - : type(type_), data(data_){}; + : type(type_), data(data_) {} std::string const &dump(uint32_t curLineNo) const; }; diff --git a/src/link/object.cpp b/src/link/object.cpp index 219624cf..20b4b11b 100644 --- a/src/link/object.cpp +++ b/src/link/object.cpp @@ -107,7 +107,7 @@ static int64_t readLong(FILE *file) { } else { \ tmpVal.push_back(tmpByte); \ } \ - }; \ + } \ } while (0) // Functions to parse object files