Skip to content

Commit 3c80652

Browse files
committed
PS: Autoformat and silence 'unused paramter' warning.
1 parent cbfd0b3 commit 3c80652

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,8 @@ predicate localMustFlowStep(Node node1, Node node2) { none() }
587587

588588
/** Gets the type of `n` used for type pruning. */
589589
DataFlowType getNodeType(Node n) {
590-
result = TUnknownDataFlowType() // TODO
590+
result = TUnknownDataFlowType() and // TODO
591+
exists(n)
591592
}
592593

593594
pragma[inline]

powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPublic.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ module BarrierGuard<guardChecksSig/3 guardChecks> {
298298

299299
/**
300300
* A dataflow node that represents the creation of an object.
301-
*
301+
*
302302
* For example, `[Foo]::new()` or `New-Object Foo`.
303303
*/
304304
class ObjectCreationNode extends Node {

0 commit comments

Comments
 (0)