mirror of
https://github.com/github/codeql.git
synced 2026-02-13 13:41:08 +01:00
This was previously flagged if `exports` wasn't used any further. While it's true that the assignment to `exports` is redundant in this case, the assignment is also flagged by DeadStorOfLocal, so there is no point in InvalidExport flagging it as well.
12 lines
1.1 KiB
Plaintext
12 lines
1.1 KiB
Plaintext
| overload.ts:10:12:10:14 | baz | This definition of baz is useless, since its value is never read. |
|
|
| tst2.js:26:9:26:14 | x = 23 | This definition of x is useless, since its value is never read. |
|
|
| tst2.js:28:9:28:14 | x = 42 | This definition of x is useless, since its value is never read. |
|
|
| tst3.js:2:1:2:36 | exports ... a: 23 } | This definition of exports is useless, since its value is never read. |
|
|
| tst3b.js:2:18:2:36 | exports = { a: 23 } | This definition of exports is useless, since its value is never read. |
|
|
| tst.js:6:2:6:7 | y = 23 | This definition of y is useless, since its value is never read. |
|
|
| tst.js:13:6:13:11 | a = 23 | This definition of a is useless, since its value is never read. |
|
|
| tst.js:13:14:13:19 | a = 42 | This definition of a is useless, since its value is never read. |
|
|
| tst.js:45:6:45:11 | x = 23 | This definition of x is useless, since its value is never read. |
|
|
| tst.js:51:6:51:11 | x = 23 | This definition of x is useless, since its value is never read. |
|
|
| tst.js:132:7:132:13 | {x} = o | This definition of x is useless, since its value is never read. |
|