From 452a410a3ea02f58930c4b3cc5a04bbb6b3e7070 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 2 Feb 2019 17:47:55 +0100 Subject: STR #2714: remove new shadow lint for MacOS --- src/Fl_Screen_Driver.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Screen_Driver.cxx') diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx index 1d812a047..2d70187ca 100644 --- a/src/Fl_Screen_Driver.cxx +++ b/src/Fl_Screen_Driver.cxx @@ -192,9 +192,9 @@ Fl_RGB_Image *Fl_Screen_Driver::traverse_to_gl_subwindows(Fl_Group *g, int x, in Fl_RGB_Image *full_img) { if ( g->as_gl_window() ) { - Fl_Device_Plugin *pi = Fl_Device_Plugin::opengl_plugin(); - if (!pi) return full_img; - full_img = pi->rectangle_capture(g, x, y, w, h); + Fl_Device_Plugin *plugin = Fl_Device_Plugin::opengl_plugin(); + if (!plugin) return full_img; + full_img = plugin->rectangle_capture(g, x, y, w, h); } else if ( g->as_window() ) { if (Fl_Window::current() != g) g->as_window()->make_current(); -- cgit v1.2.3