Browse Source

Removed names of unused parameters to quiet noisy compilers

Alexander Szpakowski 12 years ago
parent
commit
a6f4a3ab0f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/modules/graphics/opengl/Font.cpp
  2. 1 1
      src/modules/graphics/opengl/Graphics.cpp

+ 1 - 1
src/modules/graphics/opengl/Font.cpp

@@ -317,7 +317,7 @@ void Font::print(const std::string &text, float x, float y, float letter_spacing
 			dx += glyph->spacing + letter_spacing;
 		}
 	}
-	catch (love::Exception &e)
+	catch (love::Exception &)
 	{
 		glPopMatrix();
 		throw;

+ 1 - 1
src/modules/graphics/opengl/Graphics.cpp

@@ -339,7 +339,7 @@ Image *Graphics::newImage(love::image::ImageData *data)
 	{
 		success = image->load();
 	}
-	catch(love::Exception &e)
+	catch(love::Exception &)
 	{
 		image->release();
 		throw;