Skip to content

C++ suppression doesn't work #926

Closed
Closed
@nirbar

Description

@nirbar

I'm trying to suppress a warning in C++ code, however the suppression doesn't work for me.

Code:

	szXmlPath = (LPCWSTR)details.xml_path().c_str(); // lgtm[cpp/incorrect-string-type-conversion]

CodeQL scan result:
image

The code is on master branch, so this isn't a pull request issue.
Any help would be appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions