[Scummvm-git-logs] scummvm master -> d113c5d3a418d540a8c128dc608c878b73b10ae8

aquadran aquadran at gmail.com
Wed Oct 14 06:29:57 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d113c5d3a4 GRIM: Silence compiler warning


Commit: d113c5d3a418d540a8c128dc608c878b73b10ae8
    https://github.com/scummvm/scummvm/commit/d113c5d3a418d540a8c128dc608c878b73b10ae8
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-10-14T08:29:48+02:00

Commit Message:
GRIM: Silence compiler warning

Changed paths:
    engines/grim/gfx_opengl.cpp


diff --git a/engines/grim/gfx_opengl.cpp b/engines/grim/gfx_opengl.cpp
index 960492bbd0..dc4b0fa3e3 100644
--- a/engines/grim/gfx_opengl.cpp
+++ b/engines/grim/gfx_opengl.cpp
@@ -1902,6 +1902,7 @@ void GfxOpenGL::drawEmergString(int x, int y, const char *text, const Color &fgC
 	glListBase(_emergFont);
 	
 	char *list = const_cast<char *>(text);
+	(void)list; // silence compiler warning
 	glCallLists(strlen(text), GL_UNSIGNED_BYTE, (void *)text);
 
 	glEnable(GL_LIGHTING);




More information about the Scummvm-git-logs mailing list