Remove compiler warning for uninitialized variable

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Olle Johansson 18 years ago
parent fcaeb2d722
commit 8f19d8523b

@ -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);

Loading…
Cancel
Save