[asterisk-dev] [Code Review] Clean up func_odbc's dummy channel usage.

Tilghman Lesher tlesher at digium.com
Wed Jul 8 13:44:23 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/290/#review950
-----------------------------------------------------------

Ship it!


Looks good to me.


/trunk/funcs/func_odbc.c
<http://reviewboard.digium.com/r/290/#comment2276>

    This is already within a block where you check if !bogus_chan, so this check is superfluous.


- Tilghman


On 2009-07-08 13:24:44, Matthew Nicholson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/290/
> -----------------------------------------------------------
> 
> (Updated 2009-07-08 13:24:44)
> 
> 
> Review request for Asterisk Developers and Tilghman Lesher.
> 
> 
> Summary
> -------
> 
> This patch cleans up func_odbc's use of dummy channels a bit.  This is accomplished by releasing the dummy channel after we no longer need it and skipping sections of code that are pointless to execute without a channel.
> 
> 
> Diffs
> -----
> 
>   /trunk/funcs/func_odbc.c 205081 
> 
> Diff: http://reviewboard.digium.com/r/290/diff
> 
> 
> Testing
> -------
> 
> None.
> 
> 
> Thanks,
> 
> Matthew
> 
>




More information about the asterisk-dev mailing list