mirror of
https://frontier.innolan.net/rainlance/amiga-ntimed.git
synced 2026-05-03 23:46:51 +00:00
Mark needless return(bla) with a macro so we can shut up FlexeLint
This commit is contained in:
@@ -167,7 +167,7 @@ tb_Now(struct timestamp *storage)
|
||||
|
||||
(void)storage;
|
||||
WRONG("No TB_Now");
|
||||
return (NULL);
|
||||
NEEDLESS_RETURN(NULL);
|
||||
}
|
||||
|
||||
tb_now_f *TB_Now = tb_Now;
|
||||
@@ -179,7 +179,7 @@ tb_Sleep(double dur)
|
||||
{
|
||||
(void)dur;
|
||||
WRONG("No TB_Sleep");
|
||||
return (-1);
|
||||
NEEDLESS_RETURN(-1);
|
||||
}
|
||||
|
||||
tb_sleep_f *TB_Sleep = tb_Sleep;
|
||||
|
||||
Reference in New Issue
Block a user