summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2014-12-19 03:47:32 +0000
committerGreg Ercolano <erco@seriss.com>2014-12-19 03:47:32 +0000
commit889a8a6d425baf7c0208d2bbd62947e1062db8e7 (patch)
treecb2da85686c32de81633d69addab7f7b0d300262 /src
parentcdee5e204faaefd92eab79a8738da5982c990e6c (diff)
Fixes STR #3169, comments #4, #5 and #7.
Prevents warnings from the OSX 10.9.x clang compiler. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Tree.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Tree.cxx b/src/Fl_Tree.cxx
index 75befe164..218c38544 100644
--- a/src/Fl_Tree.cxx
+++ b/src/Fl_Tree.cxx
@@ -62,6 +62,7 @@ static void free_path(char **arr) {
}
}
+#if 0 /* unused code -- STR #3169 */
// INTERNAL: Recursively descend 'item's tree hierarchy
// accumulating total child 'count'
//
@@ -72,6 +73,7 @@ static int find_total_children(Fl_Tree_Item *item, int count=0) {
}
return(count);
}
+#endif
/// Constructor.
Fl_Tree::Fl_Tree(int X, int Y, int W, int H, const char *L) : Fl_Group(X,Y,W,H,L) {