summaryrefslogtreecommitdiff
path: root/src/Fl_Tabs.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2014-12-19 03:41:45 +0000
committerGreg Ercolano <erco@seriss.com>2014-12-19 03:41:45 +0000
commitcdee5e204faaefd92eab79a8738da5982c990e6c (patch)
tree9fa87d91755d611fdb1108f956d841c89dcab4d8 /src/Fl_Tabs.cxx
parent2ca381c281503c221b022d63f2cd1aa2e366fd52 (diff)
Fixes STR #3169, comment #3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Tabs.cxx')
-rw-r--r--src/Fl_Tabs.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx
index cd2240652..bbc662a7b 100644
--- a/src/Fl_Tabs.cxx
+++ b/src/Fl_Tabs.cxx
@@ -461,6 +461,12 @@ Fl_Tabs::Fl_Tabs(int X,int Y,int W, int H, const char *l) :
Fl_Group(X,Y,W,H,l)
{
box(FL_THIN_UP_BOX);
+#if FLTK_ABI_VERSION >= 10304
+ // NEW (nothing)
+#else
+ // OLD (init to prevent 'unused' warnings) -- STR #3169
+ value_ = 0; // NOTE: this member unused -- STR #3169
+#endif
push_ = 0;
tab_pos = 0;
tab_width = 0;