Mercurial > octave
changeset 20845:0bb9b4e99ea0
__init_fltk__.cc:codesprint: Remove class of fcn and return after error
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Sat, 12 Dec 2015 15:19:13 +0100 |
parents | 75d09edcfc75 |
children | f2cd811f0f9e ddc18b909ec7 |
files | libinterp/dldfcn/__init_fltk__.cc |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc Thu Dec 10 02:06:22 2015 +0100 +++ b/libinterp/dldfcn/__init_fltk__.cc Sat Dec 12 15:19:13 2015 +0100 @@ -2081,8 +2081,6 @@ } error ("figure_manager: could not recognize fltk index"); - - return -1; } void idx2figprops (int idx, figure::properties& fp) @@ -2104,8 +2102,6 @@ } error ("figure_manager: figure is not fltk"); - - return -1; } static int hnd2idx (double h) @@ -2119,8 +2115,6 @@ } error ("figure_manager: H (= %g) is not a figure", h); - - return -1; } static int hnd2idx (const graphics_handle& fh) @@ -2346,7 +2340,7 @@ DEFUN_DLD (__fltk_check__, , , "-*- texinfo -*-\n\ -@deftypefn {Loadable Function} {} __fltk_check__ ()\n\ +@deftypefn {} {} __fltk_check__ ()\n\ Undocumented internal function. Calls Fl::check ()\n\ @end deftypefn") { @@ -2366,7 +2360,7 @@ DEFUN_DLD (__init_fltk__, , , "-*- texinfo -*-\n\ -@deftypefn {Loadable Function} {} __init_fltk__ ()\n\ +@deftypefn {} {} __init_fltk__ ()\n\ Undocumented internal function.\n\ @end deftypefn") { @@ -2397,7 +2391,7 @@ DEFUN_DLD (__have_fltk__, , , "-*- texinfo -*-\n\ -@deftypefn {Loadable Function} {@var{FLTK_available} =} __have_fltk__ ()\n\ +@deftypefn {} {@var{FLTK_available} =} __have_fltk__ ()\n\ Undocumented internal function.\n\ @end deftypefn") {