
2 Dec
2013
2 Dec
'13
9:50 p.m.
On Mon, Dec 02, 2013 at 08:38:34PM +0000, David Binderman wrote:
Hello there,
I just ran the static analysis tool "cppcheck" over the source code of libsmi-0.4.8. It said
[dump-cm.c:469] -> [dump-cm.c:469]: (style) Same expression on both sides of '>'.
Source code is
if (x1 == x2 && y1> y1) con = 1;
I suspect
if (x1 == x2 && y1> y2) con = 1;
might be better code.
Yep. Fixed in the svn.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/