[asterisk-dev] [Code Review] Clean up func_odbc's dummy channel usage.
Matthew Nicholson
mnicholson at digium.com
Wed Jul 8 15:02:40 CDT 2009
> On 2009-07-08 13:44:23, Tilghman Lesher wrote:
> > /trunk/funcs/func_odbc.c, lines 495-499
> > <http://reviewboard.digium.com/r/290/diff/3/?file=5897#file5897line495>
> >
> > This is already within a block where you check if !bogus_chan, so this check is superfluous.
I don't see that. That is in the main function.
- Matthew
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/290/#review950
-----------------------------------------------------------
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