-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Description of the false positive
Error is 'pointless assignment to local variable'. But variable is used in Func which is later called.
// lgtm complains about this line
IDecideTypesForStrings decider = deciderFactory.Create(_keyType);
//this is a Func local variable that is used later on in the method
typeConversion = (a)=>decider.Parse(a.ToString());Reactions are currently unavailable