2
0
Эх сурвалжийг харах

Removed names of unused parameters to quiet noisy compilers

Alexander Szpakowski 12 жил өмнө
parent
commit
a6f4a3ab0f

+ 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;
 			dx += glyph->spacing + letter_spacing;
 		}
 		}
 	}
 	}
-	catch (love::Exception &e)
+	catch (love::Exception &)
 	{
 	{
 		glPopMatrix();
 		glPopMatrix();
 		throw;
 		throw;

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

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