Shup up a warning

This commit is contained in:
Eelco Dolstra 2018-07-11 21:05:09 +02:00
parent 875cd9da2b
commit efd04888ca
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -20,7 +20,7 @@ static void prim_fromTOML(EvalState & state, const Pos & pos, Value * * args, Va
if (auto t2 = t->as_table()) {
size_t size = 0;
for (auto & i : *t2) size++;
for (auto & i : *t2) { (void) i; size++; }
state.mkAttrs(v, size);