diff --git a/src/modules/graphics/opengl/Font.cpp b/src/modules/graphics/opengl/Font.cpp index e8caac22e..ba0b7464b 100644 --- a/src/modules/graphics/opengl/Font.cpp +++ b/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; diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index ed27fdd3c..182deccc4 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/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;