Skip to content

Commit 7e6319d

Browse files
committed
Remove unused field
1 parent 9323179 commit 7e6319d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rust/ql/lib/codeql/rust/security/HardcodedCryptographicValueExtensions.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ module HardcodedCryptographicValue {
138138
* all sinks, not just sinks with the same kind.
139139
*/
140140
private class ModelsAsDataBarrier extends Barrier {
141-
CryptographicValueKind kind;
142-
143-
ModelsAsDataBarrier() { barrierNode(this, "credentials-" + kind) }
141+
ModelsAsDataBarrier() { exists(string kind | barrierNode(this, "credentials-" + kind)) }
144142
}
145143

146144
/**

0 commit comments

Comments
 (0)