Skip to content

LGTM.com - false positive C# This assignment to is useless, since its value is never read. #2018

Closed

Description

@jbtule

Description of the false positive

Thinks the variable count is not ever read, but it's used in a closure from c# 7 local function.

URL to the alert on the project page on LGTM.com

https://lgtm.com/projects/g/jbtule/keyczar-dotnet/snapshot/6f9f609b2390cbb65220aea7d9cbbdd94df2179c/files/Keyczar/KeyczarTest/Support/Util.cs?sort=name&dir=ASC&mode=heatmap#x27914cbe517e7519:1

Activity

  1. self-assigned this
    on Sep 24, 2019
  2. hvitved commented on Sep 25, 2019

    @hvitved
    Contributor

    Thank you very much for reporting this. I agree that this is a false positive.

  3. hvitved commented on Sep 26, 2019

    @hvitved
    Contributor

    This issue has now been fixed, thanks again for your report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions