mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
fix GCC 4.6 unused variable warnings
This commit is contained in:
parent
d02d7c9846
commit
01b3f1cb93
@ -6859,7 +6859,7 @@ compile(MyThread* t, Context* context)
|
||||
memset(RUNTIME_ARRAY_BODY(visited), 0, visitCount * sizeof(bool));
|
||||
|
||||
while (visitCount) {
|
||||
bool progress = false;
|
||||
bool progress UNUSED = false;
|
||||
|
||||
for (unsigned i = 0; i < exceptionHandlerTableLength(t, eht); ++i) {
|
||||
c->restoreState(state);
|
||||
|
@ -1434,7 +1434,7 @@ visitDirtyFixies(Context* c, Fixie** p)
|
||||
while (*p) {
|
||||
Fixie* f = *p;
|
||||
|
||||
bool wasDirty = false;
|
||||
bool wasDirty UNUSED = false;
|
||||
bool clean = true;
|
||||
uintptr_t* mask = f->mask();
|
||||
|
||||
@ -1527,7 +1527,7 @@ void
|
||||
collect(Context* c, Segment::Map* map, unsigned start, unsigned end,
|
||||
bool* dirty, bool expectDirty UNUSED)
|
||||
{
|
||||
bool wasDirty = false;
|
||||
bool wasDirty UNUSED = false;
|
||||
for (Segment::Map::Iterator it(map, start, end); it.hasMore();) {
|
||||
wasDirty = true;
|
||||
if (map->child) {
|
||||
|
@ -2865,7 +2865,7 @@ class MyArchitecture: public Assembler::Architecture {
|
||||
virtual void updateCall(UnaryOperation op, void* returnAddress,
|
||||
void* newTarget)
|
||||
{
|
||||
bool assertAlignment;
|
||||
bool assertAlignment UNUSED;
|
||||
switch (op) {
|
||||
case AlignedCall:
|
||||
op = Call;
|
||||
|
Loading…
Reference in New Issue
Block a user