Fixed Code Analysis warning