Skip to content

Commit

Permalink
Remove redundant recursion (as suggested in [fltk.coredev] [porting] …
Browse files Browse the repository at this point in the history
…Remove redundant recursion)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 10, 2016
1 parent 2d5dbc3 commit 79f79d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Fl_Image_Surface.cxx
Expand Up @@ -141,7 +141,6 @@ static int find_slot(void) { // return an available slot to memorize an Fl_Image
if (count_offscreens >= max) {
max += 20;
offscreen_api_surface = (Fl_Image_Surface**)realloc(offscreen_api_surface, max * sizeof(void *));
return find_slot();
}
return count_offscreens++;
}
Expand Down

0 comments on commit 79f79d2

Please sign in to comment.