← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3717: Remove some warnings.

 

------------------------------------------------------------
revno: 3717
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Wed 2013-10-16 07:48:14 +0200
message:
  Remove some warnings.
modified:
  gui/qt4/GLViewerDisplay.cpp
  gui/qt4/GLViewerMouse.cpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'gui/qt4/GLViewerDisplay.cpp'
--- gui/qt4/GLViewerDisplay.cpp	2013-10-14 20:51:11 +0000
+++ gui/qt4/GLViewerDisplay.cpp	2013-10-16 05:48:14 +0000
@@ -36,7 +36,6 @@
 #endif
 
 static int last(-1);
-static unsigned initBlocked(State::DOF_NONE);
 
 void GLViewer::useDisplayParameters(size_t n){
 	LOG_DEBUG("Loading display parameters from #"<<n);

=== modified file 'gui/qt4/GLViewerMouse.cpp'
--- gui/qt4/GLViewerMouse.cpp	2013-10-14 20:51:11 +0000
+++ gui/qt4/GLViewerMouse.cpp	2013-10-16 05:48:14 +0000
@@ -35,8 +35,6 @@
 	#include<gl2ps.h>
 #endif
 
-static int last(-1);
-static unsigned initBlocked(State::DOF_NONE);
 void GLViewer::mouseMovesCamera(){
 	camera()->frame()->setWheelSensitivity(-1.0f);