mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix unused variable warning when building with cmake
This commit is contained in:
parent
1dfb164a12
commit
d48093b777
@ -622,7 +622,7 @@ const char* fieldType(const char* spec)
|
|||||||
|
|
||||||
void parseJavaClass(Module& module, ClassParser& clparser, Stream* s)
|
void parseJavaClass(Module& module, ClassParser& clparser, Stream* s)
|
||||||
{
|
{
|
||||||
uint32_t magic = s->read4();
|
uint32_t magic UNUSED = s->read4();
|
||||||
assert(magic == 0xCAFEBABE);
|
assert(magic == 0xCAFEBABE);
|
||||||
s->read2(); // minor version
|
s->read2(); // minor version
|
||||||
s->read2(); // major version
|
s->read2(); // major version
|
||||||
|
Loading…
Reference in New Issue
Block a user