[Asterisk-code-review] sched: Make sched settime() return void because it cannot fail (asterisk[13])

Sean Bright asteriskteam at digium.com
Thu Jan 17 13:26:13 CST 2019


Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/10883 )

Change subject: sched: Make sched_settime() return void because it cannot fail
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/10883/1/main/sched.c
File main/sched.c:

https://gerrit.asterisk.org/#/c/10883/1/main/sched.c@500
PS1, Line 500: 		ast_assert(0);
> Or why not just make 'when' an unsigned int to start?

The public scheduler API takes signed ints. Maybe in master we change them to unsigned to avoid this.



-- 
To view, visit https://gerrit.asterisk.org/10883
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I66b8b2b2778f186919d73ae9bf592104b8fb1cd5
Gerrit-Change-Number: 10883
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Thu, 17 Jan 2019 19:26:13 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190117/2edaea9e/attachment.html>


More information about the asterisk-code-review mailing list