Fix some coverity issues

This commit is contained in:
heckflosse
2017-06-16 21:21:22 +02:00
parent 0088a4d3e8
commit 642b4cc86c
15 changed files with 66 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ class Coord2D
public:
double x, y;
Coord2D (double x_, double y_) : x(x_), y(y_) {}
Coord2D () {}
Coord2D () : x(0), y(0) {}
void set (double x_, double y_)
{
x = x_;