mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
spelling: emptiness
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -54,7 +54,7 @@ module ModificationOfParameterWithDefault {
|
||||
*/
|
||||
abstract class MustBeNonEmpty extends DataFlow::Node { }
|
||||
|
||||
/** Gets the truthiness (non emptyness) of the default of `p` if that value is mutable */
|
||||
/** Gets the truthiness (non emptiness) of the default of `p` if that value is mutable */
|
||||
private boolean mutableDefaultValue(Parameter p) {
|
||||
exists(Dict d | p.getDefault() = d |
|
||||
exists(d.getAKey()) and result = true
|
||||
|
||||
Reference in New Issue
Block a user