From d9261409e02c6ffec1d2aea9b1b9b9dfad421d81 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 10 Jun 2014 21:24:50 -0400 Subject: [PATCH] ignore return value of SDL_GL_CreateContext --- src/gui/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/main.cc b/src/gui/main.cc index de052ee..b5f2c45 100644 --- a/src/gui/main.cc +++ b/src/gui/main.cc @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) return 2; } - SDL_GLContext gl_context = SDL_GL_CreateContext(window); + (void)SDL_GL_CreateContext(window); if (gl3wInit() != 0) {