Skip to content
Snippets Groups Projects
Commit 992a087d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix gcc warnings

parent f0ed9cc6
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ clean-fm: ...@@ -152,7 +152,7 @@ clean-fm:
depend: initialtag depend: initialtag
for i in ${GMSH_DIRS};\ for i in ${GMSH_DIRS};\
do (cd $$i && ${MAKE} depend "FLAGS=-DHAVE_GSL -DHAVE_FLTK"); done do (cd $$i && ${MAKE} depend "FLAGS=-DHAVE_GSL -DHAVE_FLTK -DHAVE_METIS"); done
nodepend: nodepend:
for i in ${GMSH_DIRS} ; do \ for i in ${GMSH_DIRS} ; do \
......
...@@ -391,4 +391,16 @@ HighOrder.o: HighOrder.cpp HighOrder.h ../Geo/GModel.h ../Geo/GVertex.h \ ...@@ -391,4 +391,16 @@ HighOrder.o: HighOrder.cpp HighOrder.h ../Geo/GModel.h ../Geo/GVertex.h \
../Numeric/NumericEmbedded.h ../Common/Context.h ../Geo/CGNSOptions.h \ ../Numeric/NumericEmbedded.h ../Common/Context.h ../Geo/CGNSOptions.h \
../Mesh/PartitionOptions.h ../Common/GmshMatrix.h \ ../Mesh/PartitionOptions.h ../Common/GmshMatrix.h \
../Numeric/FunctionSpace.h ../Numeric/FunctionSpace.h
Partition.o: Partition.cpp Partition.o: Partition.cpp ../Geo/GModel.h ../Geo/GVertex.h \
../Geo/GEntity.h ../Geo/Range.h ../Geo/SPoint3.h \
../Geo/SBoundingBox3d.h ../Geo/SPoint3.h ../Geo/GPoint.h \
../Geo/SPoint2.h ../Geo/GEdge.h ../Geo/GEntity.h ../Geo/GVertex.h \
../Geo/SVector3.h ../Geo/SPoint3.h ../Geo/SPoint3.h ../Geo/SPoint2.h \
../Geo/GFace.h ../Geo/GEntity.h ../Geo/GPoint.h ../Geo/GEdgeLoop.h \
../Geo/GEdge.h ../Geo/SPoint2.h ../Geo/SVector3.h ../Geo/Pair.h \
../Geo/GRegion.h ../Geo/GEntity.h ../Geo/SPoint3.h \
../Geo/SBoundingBox3d.h Partition.h PartitionObjects.h \
../Geo/MElement.h ../Common/GmshDefines.h ../Geo/MVertex.h \
../Geo/SPoint3.h ../Geo/MEdge.h ../Geo/MVertex.h ../Geo/SVector3.h \
../Geo/MFace.h ../Geo/MVertex.h ../Geo/SVector3.h ../Common/Message.h \
PartitionOptions.h
...@@ -35,7 +35,7 @@ class GrVertex ...@@ -35,7 +35,7 @@ class GrVertex
GrVertex(const int _index, const unsigned short _size) GrVertex(const int _index, const unsigned short _size)
: index(_index), size(0), sizeC(_size) : index(_index), size(0), sizeC(_size)
{ } { }
int add(const int v) { grEdge[size++] = v; } void add(const int v) { grEdge[size++] = v; }
unsigned write(std::vector<int> &vec) const unsigned write(std::vector<int> &vec) const
{ {
switch(size) { switch(size) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment