summaryrefslogtreecommitdiff
path: root/test/unittest_scrollbarsize.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-12 21:47:33 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-12 21:47:33 +0100
commit5e4f51ac6b1d1da32687a40d29a0006a9be8eb67 (patch)
treeaa4de5e405138a59e0d4365769fdbe233c838e8b /test/unittest_scrollbarsize.cxx
parent13526f04abd4e3474b309e54af7fc6b462cc2e2f (diff)
Fix several compiler warnings
Three unrelated but only minor warnings.
Diffstat (limited to 'test/unittest_scrollbarsize.cxx')
-rw-r--r--test/unittest_scrollbarsize.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unittest_scrollbarsize.cxx b/test/unittest_scrollbarsize.cxx
index b964fcebe..afc34789a 100644
--- a/test/unittest_scrollbarsize.cxx
+++ b/test/unittest_scrollbarsize.cxx
@@ -1,7 +1,7 @@
//
// Unit tests for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2022 by Bill Spitzak and others.
+// Copyright 1998-2024 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -204,7 +204,7 @@ public:
int texty = tabley + tableh + ysep;
int texth = browh;
int termy = texty + texth + ysep;
- int termh = texth;
+ // int termh = texth; // unused but left because it's documented above
brow_a = makebrowser(X+ 10,browy,100,browh,"Browser A");
brow_b = makebrowser(X+120,browy,100,browh,"Browser B");
brow_c = makebrowser(X+230,browy,100,browh,"Browser C");