From 729eecc06d9948968d1b9afe43c2aafa7a6b33b6 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 12 May 2008 02:54:43 +0000 Subject: [PATCH] Removed compiler warnings (missing eol, unused variable). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1869 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/kart.cpp | 6 +++--- src/smoke.hpp | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/kart.cpp b/src/kart.cpp index 6bc2fccec..3a027f197 100644 --- a/src/kart.cpp +++ b/src/kart.cpp @@ -644,9 +644,9 @@ void Kart::update(float dt) m_on_road = true; } - int sector = world->m_track->spatialToTrack( m_curr_track_coords, - m_curr_pos.xyz, - m_track_sector ); + world->m_track->spatialToTrack( m_curr_track_coords, + m_curr_pos.xyz, + m_track_sector ); doLapCounting () ; processSkidMarks(); diff --git a/src/smoke.hpp b/src/smoke.hpp index a649c7645..c3447a8c5 100755 --- a/src/smoke.hpp +++ b/src/smoke.hpp @@ -38,4 +38,5 @@ public: virtual void particle_update(float deltaTime, int index, Particle *p ); virtual void particle_delete(int index, Particle* p ); }; -#endif \ No newline at end of file +#endif +