Fix -Wunused-function warnings

defined but not used
This commit is contained in:
dhewg 2011-12-02 16:19:21 +01:00 committed by Daniel Gibson
parent 98fbe07684
commit d72b17f3a2
2 changed files with 4 additions and 0 deletions

View file

@ -1332,6 +1332,7 @@ HeightForTrajectory
Returns the maximum hieght of a given trajectory
=====================
*/
#if 0
static float HeightForTrajectory( const idVec3 &start, float zVel, float gravity ) {
float maxHeight, t;
@ -1341,6 +1342,7 @@ static float HeightForTrajectory( const idVec3 &start, float zVel, float gravity
return maxHeight;
}
#endif
/*
=====================

View file

@ -1331,6 +1331,7 @@ HeightForTrajectory
Returns the maximum hieght of a given trajectory
=====================
*/
#if 0
static float HeightForTrajectory( const idVec3 &start, float zVel, float gravity ) {
float maxHeight, t;
@ -1340,6 +1341,7 @@ static float HeightForTrajectory( const idVec3 &start, float zVel, float gravity
return maxHeight;
}
#endif
/*
=====================