Fix compiler warning [-Wunused-variable].

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2017-07-05 13:53:31 +00:00
parent 90a6c3eb35
commit 2a8d11bb37

View File

@ -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);