[asterisk-users] Uninitialized variable in main/pbx.c?

Steve Edwards
Thu, 24 Jan 2013 03:00:23 -0000

On Wed, 23 Jan 2013, Richard Kenner wrote:

> +               dst_exten[0] = '\0';

Is this 'construct' prefered over

 		dst_exten[0] = 0;
 	or
 		*dst_exten = 0;

and why?

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000