Commit 3d5301b8 authored by Sebastien Barre's avatar Sebastien Barre

FIX: warnings (unused)

parent 437f072d
......@@ -23,7 +23,7 @@
#include "vtkFloatArray.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkQuadraticEdge, "1.14");
vtkCxxRevisionMacro(vtkQuadraticEdge, "1.15");
vtkStandardNewMacro(vtkQuadraticEdge);
// Construct the line with two points.
......@@ -235,9 +235,10 @@ void vtkQuadraticEdge::Derivatives(int vtkNotUsed(subId),
jTj[0] = jTj0; jTj[1] = jTj1; jTj[2] = jTj2;
double *jI[3], jI0[3], jI1[3], jI2[3];
jI[0] = jI0; jI[1] = jI1; jI[2] = jI2;
/*
double *iI[3], iI0[3], iI1[3], iI2[3];
iI[0] = iI0; iI[1] = iI1; iI[2] = iI2;
*/
// Compute dx/dt, dy/dt, dz/dt
this->InterpolationDerivs(pcoords,derivs);
float dxdt = x0[0]*derivs[0] + x1[0]*derivs[1] + x2[0]*derivs[2];
......
......@@ -25,7 +25,7 @@
#include "vtkRenderWindowInteractor.h"
#include "vtkCommand.h"
vtkCxxRevisionMacro(vtkInteractorStyleFlight, "1.25");
vtkCxxRevisionMacro(vtkInteractorStyleFlight, "1.26");
vtkStandardNewMacro(vtkInteractorStyleFlight);
class CPIDControl
......@@ -462,7 +462,7 @@ void vtkInteractorStyleFlight::FinishCamera(vtkCamera* cam)
cam->OrthogonalizeViewUp();
if (this->RestoreUpVector)
{
double delta[3],camvec[3];
double delta[3];
cam->GetViewUp(delta);
double weight = vtkMath::Dot(this->DefaultUpVector,delta);
// only correct up if we're close to it already...
......@@ -536,7 +536,7 @@ void vtkInteractorStyleFlight::UpdateMouseSteering(vtkCamera *cam)
// We know the ideal and actual focal points. We now want to reduce these
// to a 2D Yaw+Pitch form so that we can smooth the motion on each
void vtkInteractorStyleFlight::UpdateSteering(vtkCamera *cam)
void vtkInteractorStyleFlight::UpdateSteering(vtkCamera *vtkNotUsed(cam))
{
/*
Not happy with smooth flight yet, please levae this code here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment