diff options
| author | Manolo Gouy <Manolo> | 2016-03-10 16:07:24 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-10 16:07:24 +0000 |
| commit | 79f79d292c8ffe7a172237c614345a7bc667de80 (patch) | |
| tree | e6fd1933da59a44f5253965f7db9d8ab9aaf4c23 /src | |
| parent | 2d5dbc392593bd1ff1909a7a235ebd33e88e67e8 (diff) | |
Remove redundant recursion (as suggested in [fltk.coredev] [porting] Remove redundant recursion)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Image_Surface.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 0e31d45b1..964c5d567 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -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++; } |
