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
This commit is contained in:
Greg Ercolano 2014-09-17 16:27:01 +00:00
parent 49e21120b6
commit 36b1ad056a

View File

@ -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