mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
[WASM] Remove a set but never used variable.
llvm-svn: 299312
This commit is contained in:
parent
fe09db437a
commit
5012406a6d
@ -458,11 +458,8 @@ Error WasmObjectFile::parseGlobalSection(const uint8_t *Ptr, const uint8_t *End)
|
||||
wasm::WasmGlobal Global;
|
||||
Global.Type = readVarint7(Ptr);
|
||||
Global.Mutable = readVaruint1(Ptr);
|
||||
size_t offset = Ptr - getPtr(0);
|
||||
if (Error Err = readInitExpr(Global.InitExpr, Ptr)) {
|
||||
offset = Ptr - getPtr(0);
|
||||
if (Error Err = readInitExpr(Global.InitExpr, Ptr))
|
||||
return Err;
|
||||
}
|
||||
Globals.push_back(Global);
|
||||
}
|
||||
if (Ptr != End)
|
||||
|
Loading…
Reference in New Issue
Block a user