qtdeclarative/tests/auto/qml/ecmascripttests
Marc Mutz b32e93ca00 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.

Change-Id: I2139aa4552d1ff2ddbb5737e2a1b26650d6519e7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 9d04888c9c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-21 00:48:50 +00:00
..
qjstest Test262Runner: fix -Wunused-but-set-variable 2023-01-21 00:48:50 +00:00
test262@a0efb7e1ab Fix error when calling byteLength on detached ArrayBuffer 2022-08-25 23:57:11 +00:00
CMakeLists.txt Tests: Define function timeout in C++ rather than CMake 2022-09-13 22:25:49 +02: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