[Asterisk-code-review] core: Minor cleanup of ast el read char. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Sat Mar 17 17:35:09 CDT 2018


Hello Jenkins2, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/8566

to look at the new patch set (#2).

Change subject: core: Minor cleanup of ast_el_read_char.
......................................................................

core: Minor cleanup of ast_el_read_char.

* Define CHAR_T_LIBEDIT and CHAR_TO_LIBEDIT based on
  HAVE_LIBEDIT_IS_UNICODE.  This avoids needing to repeatedly use
  conditional blocks, eliminates having multiple function prototypes.
* Remove parenthesis from return values.
* Add missing code block brackets {}.
* Reduce use of 'else' conditional statements where possible.

Change-Id: I4315328ebea2f62641faf6881de2ac20a9f9d08e
---
M main/asterisk.c
1 file changed, 26 insertions(+), 27 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/66/8566/2
-- 
To view, visit https://gerrit.asterisk.org/8566
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4315328ebea2f62641faf6881de2ac20a9f9d08e
Gerrit-Change-Number: 8566
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180317/5064a62a/attachment.html>


More information about the asterisk-code-review mailing list