From c02b195ede2a899f2e3312c03d09ac1ff3ae9a50 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Wed, 17 Mar 2010 11:59:16 +0000 Subject: several cleanups based on cppcheck and VS2008 Code Analysis [Oliver Stöneberg] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit split.c: made the "split" return the actual result instead of just 0. [Oliver Stöneberg] clifront.c: made the identation of the CPU device in -listdevices the same like the others [Oliver Stöneberg] i386.c: gave some fatalerror() calls in the i386 proper messages [Oliver Stöneberg] ssem.c: fixed compilation of SSEM core with SSEM_DISASM_ON_UNIMPL [Oliver Stöneberg] srcclean.c: small wording change in the srcclean summary [Oliver Stöneberg] sdl/window.c: fixed a potential memory leak in sdlwindow_video_window_create() [Oliver Stöneberg] --- src/osd/sdl/gl_shader_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osd/sdl/gl_shader_tool.c') diff --git a/src/osd/sdl/gl_shader_tool.c b/src/osd/sdl/gl_shader_tool.c index c56874a793b..edce85ab673 100644 --- a/src/osd/sdl/gl_shader_tool.c +++ b/src/osd/sdl/gl_shader_tool.c @@ -345,7 +345,7 @@ static int delete_shader_tool( GLhandleARB *program, GLhandleARB *vertex_shader, *fragment_shader=0; } - return 0; + return res; } int gl_compile_shader_source( GLhandleARB *shader, GLenum type, const char * shader_source, int verbose ) -- cgit v1.2.3-70-g09d2