From 36b1ad056a44f40077948e2872e579a9f1716315 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 17 Sep 2014 16:27:01 +0000 Subject: [PATCH] Removed leftover item variable (now unused) as noted by Albrecht on fltk.coredev today; was giving warnings with Windows/MinGW builds. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/tree-custom-sort.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/tree-custom-sort.cxx b/examples/tree-custom-sort.cxx index e7bc056dd..40571f513 100644 --- a/examples/tree-custom-sort.cxx +++ b/examples/tree-custom-sort.cxx @@ -59,11 +59,10 @@ int main(int argc, char *argv[]) { G_tree->showroot(0); // Add 200 random numbers to the tree - Fl_Tree_Item *item; char word[50]; for ( int t=0; t<200; t++ ) { sprintf(word, "%ld", long((float(rand()) / RAND_MAX) * 1000000)); - item = G_tree->add(word); + G_tree->add(word); } // Add some sort buttons