diff --git a/include/sch/Matrix/SmallMatrix4x4T.h b/include/sch/Matrix/SmallMatrix4x4T.h index 1eac2ca5..cb6520a4 100644 --- a/include/sch/Matrix/SmallMatrix4x4T.h +++ b/include/sch/Matrix/SmallMatrix4x4T.h @@ -41,8 +41,7 @@ struct Matrix4x4T /*! Constructor form a scalar */ Matrix4x4T(const T x) { - for(int i = 0; i < 16; m[i++] = x) - ; + for(int i = 0; i < 16; m[i++] = x); } /*! Copy constructor */ diff --git a/src/CD/CD_Scene.cpp b/src/CD/CD_Scene.cpp index 1093323b..d2f43ae7 100644 --- a/src/CD/CD_Scene.cpp +++ b/src/CD/CD_Scene.cpp @@ -19,8 +19,7 @@ int CD_Scene::addObject(S_Object * O) { unsigned int i; /*looking for an empty place*/ - for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i) - ; + for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i); /*filling objects and possibly updating _pairs and _witness matrix*/ if(i == objects_.size())