summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index 41cffff03..31dc68152 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -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);