Shup up a warning
This commit is contained in:
parent
875cd9da2b
commit
efd04888ca
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ static void prim_fromTOML(EvalState & state, const Pos & pos, Value * * args, Va
|
||||||
if (auto t2 = t->as_table()) {
|
if (auto t2 = t->as_table()) {
|
||||||
|
|
||||||
size_t size = 0;
|
size_t size = 0;
|
||||||
for (auto & i : *t2) size++;
|
for (auto & i : *t2) { (void) i; size++; }
|
||||||
|
|
||||||
state.mkAttrs(v, size);
|
state.mkAttrs(v, size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue