qtdeclarative/tests/auto/qml/ecmascripttests
Marc Mutz 9d04888c9c Test262Runner: fix -Wunused-but-set-variable
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 d9c4a52724.

Pick-to: 6.5 6.4 6.2 5.15
Change-Id: I2139aa4552d1ff2ddbb5737e2a1b26650d6519e7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-01-20 20:39:11 +01:00
..
qjstest Test262Runner: fix -Wunused-but-set-variable 2023-01-20 20:39:11 +01:00
test262@a0efb7e1ab Fix error when calling byteLength on detached ArrayBuffer 2022-08-25 23:57:11 +00:00
CMakeLists.txt Retire the qt_parse_all_arguments 2023-01-20 16:40:42 +01:00
TestExpectations V4: Fix index calculations in String prototype 2022-08-31 09:33:02 +02:00
test262.py Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
tst_ecmascripttests.cpp QML: Test ECMAScript compliance on all platforms 2022-09-30 21:10:00 +02:00