Skip to content

Commit

Permalink
Fix compiler warning [-Wunused-variable].
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed Jul 5, 2017
1 parent 90a6c3e commit 2a8d11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_Screen_Driver.cxx
Expand Up @@ -484,7 +484,7 @@ void Fl_Screen_Driver::open_display()
static bool been_here = false;
if (!been_here) {
been_here = true;
int ns = screen_count();
screen_count(); // initialize, but ignore return value
if (rescalable()) {
use_startup_scale_factor();
Fl::add_handler(Fl_Screen_Driver::scale_handler);
Expand Down

0 comments on commit 2a8d11b

Please sign in to comment.