shared/bootspec: inline iterator var
authorMike Yuan <me@yhndnzj.com>
Tue, 14 May 2024 07:48:50 +0000 (15:48 +0800)
committerMike Yuan <me@yhndnzj.com>
Tue, 14 May 2024 10:18:48 +0000 (18:18 +0800)
commit73a8d8b0ca4569568aa1bc5883d4953b3f69d1f1
treef64812abe7badab84d74d1d9aae8c5dd4c1e4711
parent19cb99e74ac98c8aec317cca2d50a4afd30ad9ac
shared/bootspec: inline iterator var

Also, do not bump 'line' until the end of the loop.
Otherwise, log_syntax() below logs about the wrong
line number.
src/shared/bootspec.c