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

Corey Farrell asteriskteam at digium.com
Thu Jan 17 10:18:26 CST 2019


Corey Farrell 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);
Would it be better to `return -1` here?  2^31 ms is 25 days, is that ever valid?



-- 
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-Comment-Date: Thu, 17 Jan 2019 16:18:26 +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/47266b46/attachment.html>


More information about the asterisk-code-review mailing list