Fix cppcheck reports warnings:

(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
This commit is contained in:
Julien Nabet
2014-12-27 10:54:34 +01:00
parent 61991a3330
commit 2d5e3b57ea
4 changed files with 5 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ static bool findCircle( Point2f pt0, Point2f pt1, Point2f pt2,
}
center->x = center->y = 0.f;
radius = 0;
*radius = 0;
return false;
}