Setting the res value and returning from the function at the same time
does not make sense. After reflection, it is the "return" that shall
go.

No idea what effect it had.
This commit is contained in:
Jean-Marc Lasgouttes 2020-10-02 12:06:32 +02:00
parent 8b155ce957
commit a97b384b07

View File

@ -972,7 +972,7 @@ MathClass MathData::lastMathClass() const
for (MathAtom const & at : *this) {
MathClass mc = at->mathClass();
if (mc != MC_UNKNOWN)
return res = mc;
res = mc;
}
return res;
}