Skip to content

Fix assignment in conditional expression in Grapher.cpp#2412

Open
nakultt wants to merge 1 commit intomicrosoft:mainfrom
nakultt:main
Open

Fix assignment in conditional expression in Grapher.cpp#2412
nakultt wants to merge 1 commit intomicrosoft:mainfrom
nakultt:main

Conversation

@nakultt
Copy link

@nakultt nakultt commented Nov 23, 2025

Fixes

Description of the changes:
Replaced the assignment operator (=) with the equality operator (==) in the if condition within Grapher::TryUpdateGraph.
This change addresses a potential coding error where a
variable was being assigned inside a conditional check instead of being compared.

How changes were validated:
Manual code review of the syntax change, and building and running the application

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant