Fixed various warnings

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@803 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-02-18 17:17:01 +00:00
parent 8ccd4b1601
commit 6ba9774194
9 changed files with 24 additions and 27 deletions

View File

@@ -1438,7 +1438,6 @@ void VdE<M>::raise(typename M::EdgeHandle& _eh, state_t _target_state)
typename M::VertexHandle vh;
typename M::HalfedgeHandle hh1(Base::mesh_.HEH(_eh, 0)),
hh2(Base::mesh_.HEH(_eh, 1));
std::vector<typename M::VertexHandle> vertex_vector;
typename M::FaceHandle fh1, fh2;
if (_target_state > 1) {

View File

@@ -372,7 +372,6 @@ CatmullClarkT<MeshType,RealType>::update_vertex( MeshType& _m, const VertexHandl
VertexFaceIter vf_itr;
Point Q(0, 0, 0);
double neigboring_faces(0.0);
for ( vf_itr = _m.vf_iter( _vh); vf_itr; ++vf_itr) //, neigboring_faces += 1.0 )
{

View File

@@ -97,7 +97,7 @@ private:
string pstyle;
vector<string> to_delete;
int nplots;
bool get_program_path(const string);
bool get_program_path(const string& );
bool valid;
// Name of executed GNUPlot file

View File

@@ -112,7 +112,7 @@ int kbhit(void)
int getch(void)
{
char ch;
char ch = ' ';
int error;
static struct termios Otty, Ntty;
@@ -149,7 +149,7 @@ int getch(void)
int getche(void)
{
char ch;
char ch = ' ';
int error;
static struct termios Otty, Ntty;