The 'int line' variable is shadowed a few lines below by the
'QByteArray line' one, even in the initial commit, so it can never
have been used, except for the increment in the first line of the
loop's bodies.
Remove the variable, fix the warning.
Found by Clang 15:
test262runner.cpp:380:9: warning: variable 'line' set but not used [-Wunused-but-set-variable]
int line = 0;
^
Amends
|
||
---|---|---|
.. | ||
qjstest | ||
test262@a0efb7e1ab | ||
CMakeLists.txt | ||
TestExpectations | ||
test262.py | ||
tst_ecmascripttests.cpp |