M0-1-4
: Recognise aggregate literal initializers
#388
Labels
Difficulty-Low
A false positive or false negative report which is expected to take <1 day effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
M0-1-4
Description
M0-1-4
identifies single use variables, but for member variables we do not recognise the initialization of variables in an aggregate initializer as a use.In addition, we should search for other places where we count uses of member variables to ensure this case is also captured there.
Example
The text was updated successfully, but these errors were encountered: