microsoft/calculator

Warning C4706 triggered in Grapher.cpp

Opened this issue · 0 comments

Steps To Reproduce
This line triggers MSVC compiler warning C4706 - found during pre-release validation building the Calculator project.

if (graphExpression = m_solver->ParseInput(request, m_errorCode, m_errorType))

To fix it, wrap parentheses around the assignment expression:

           if ((graphExpression = m_solver->ParseInput(request, m_errorCode, m_errorType)))

Requested Assignment
If possible, I would like to fix this.