[Fix] Removed some unused variables.

This commit is contained in:
Allanis 2014-01-05 20:46:42 +00:00
parent 3b64a6984f
commit e57ac297d2
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ function land()
-- Need to start braking.
elseif dist < bdist then
ai.poptask()
ai.pushtask(0, "landstop", target)
ai.pushtask(0, "landstop")
end
end

View File

@ -1381,7 +1381,7 @@ unsigned int pilot_create(Ship* ship, char* name, int faction,
char* ai, const double dir, const Vec2* pos,
const Vec2* vel, const int flags) {
Pilot** tp, *dyn;
Pilot* dyn;
dyn = MALLOC_L(Pilot);
if(dyn == NULL) {
@ -1393,7 +1393,6 @@ unsigned int pilot_create(Ship* ship, char* name, int faction,
/* See if memory needs to grow. */
if(pilot_nstack+1 > pilot_mstack) { /* Needs to grow. */
pilot_mstack += PILOT_CHUNK;
tp = pilot_stack;
pilot_stack = realloc(pilot_stack, pilot_mstack*sizeof(Pilot*));
}