[Asterisk-code-review] main/asterisk.c: ast el read char (asterisk[master])
Richard Mudgett
asteriskteam at digium.com
Wed Jan 20 14:09:44 CST 2016
Richard Mudgett has posted comments on this change.
Change subject: main/asterisk.c: ast_el_read_char
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
Please cherry pick this patch to v11 and v13
https://gerrit.asterisk.org/#/c/2032/3/main/asterisk.c
File main/asterisk.c:
Line 2705: if (write(STDOUT_FILENO, "\r[0K", 5) < 0) {
> Unrelated: Why do we use an if here, if we are not doing anything with the
This is very old code. Hazarding a guess, I'd say that it is to prevent code checkers from complaining about a return value not being used.
--
To view, visit https://gerrit.asterisk.org/2032
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifcd7f691310815a31756b76067c56fba299d3ae9
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Diederik de Groot <dkgroot at talon.nl>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Diederik de Groot <dkgroot at talon.nl>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list