You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran the static analysis checker "cppcheck" over
the source code of fontforge.
Amongst many other things, cppcheck said
[charinfo.c:3618]: (warning) Logical disjunction always evaluates to true: uni>= 912 || uni < 943.
[splineoverlap.c:2146]: (warning) Logical conjunction always evaluates to false: nwinding <= -2 && nwinding>= 2.
In both cases, suggest code rework.
Regards
David Binderman
The text was updated successfully, but these errors were encountered:
I guess the fix might be as simple as changing "||" to "&&" and vice versa. However, we need someone who can understand these magic things before making the change.
Email today:
The text was updated successfully, but these errors were encountered: