From 0ab3ca7cf6fac682e6ee598077df3ec3859918ab Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 25 Mar 2022 16:54:53 +0100 Subject: Remove documentation of non-existant function return values. --- src/Fl_Timeout.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Fl_Timeout.cxx') diff --git a/src/Fl_Timeout.cxx b/src/Fl_Timeout.cxx index 197719737..21200462d 100644 --- a/src/Fl_Timeout.cxx +++ b/src/Fl_Timeout.cxx @@ -220,16 +220,13 @@ void Fl_Timeout::make_current() { Remove the top-most timeout from the stack of currently running timeout callbacks and insert it into the list of free timers. - This should always return a non-NULL value, otherwise there's a bug - in the library. Typical code in the library would look like: + Typical code in the library would look like: \code // The timeout \p Fl_Timeout *t has exired, run its callback t->make_current(); (t->callback)(t->data); t->release(); \endcode - - \return Fl_Timeout* current timeout or NULL */ void Fl_Timeout::release() { Fl_Timeout *t = current_timeout; -- cgit v1.2.3