aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-11-12 10:09:42 -0800
committerGitHub <noreply@github.com>2024-11-12 10:09:42 -0800
commit4048c64306e23b622443bbe7293057a9b07a13bb (patch)
tree6f95df1fd4e39ecc50b93b2c67beb039a0e5dbe4 /llvm/lib/Object/WasmObjectFile.cpp
parentc784d321d90a3609caeacfb525b7ccadd41a5195 (diff)
downloadllvm-4048c64306e23b622443bbe7293057a9b07a13bb.zip
llvm-4048c64306e23b622443bbe7293057a9b07a13bb.tar.gz
llvm-4048c64306e23b622443bbe7293057a9b07a13bb.tar.bz2
[llvm] Remove redundant control flow statements (NFC) (#115831)
Identified with readability-redundant-control-flow.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
-rw-r--r--llvm/lib/Object/WasmObjectFile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Object/WasmObjectFile.cpp b/llvm/lib/Object/WasmObjectFile.cpp
index 35f152d..ef19c3c 100644
--- a/llvm/lib/Object/WasmObjectFile.cpp
+++ b/llvm/lib/Object/WasmObjectFile.cpp
@@ -1242,7 +1242,6 @@ Error WasmObjectFile::parseTypeSection(ReadContext &Ctx) {
while (ParamCount--) {
uint32_t ParamType = readUint8(Ctx);
Sig.Params.push_back(parseValType(Ctx, ParamType));
- continue;
}
uint32_t ReturnCount = readVaruint32(Ctx);
while (ReturnCount--) {