Skip to content

Commit d64d03e

Browse files
committed
QL: Fix Code Scanning warning.
1 parent f155f19 commit d64d03e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ql/ql/src/codeql_ql/StructuredLogs.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,8 @@ module KindPredicatesLog {
223223

224224
class PipeLineRun extends Object {
225225
PipeLineRuns runs;
226-
int index;
227226

228-
PipeLineRun() { runs.getObject(index) = this }
227+
PipeLineRun() { runs.getObject(_) = this }
229228

230229
PipeLineRuns getArray() { result = runs }
231230

0 commit comments

Comments
 (0)