Remove compiler warning for uninitialized variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99384 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
f68cf2ef9a
commit
9e213bacf9
|
@ -1321,7 +1321,7 @@ static void build_device(struct ast_config *cfg, const char *name)
|
|||
{
|
||||
struct ast_variable *v;
|
||||
struct console_pvt *pvt;
|
||||
int new;
|
||||
int new = 0;
|
||||
|
||||
if ((pvt = find_pvt(name))) {
|
||||
console_pvt_lock(pvt);
|
||||
|
|
Reference in New Issue