diff options
-rw-r--r-- | channels/chan_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_console.c b/channels/chan_console.c index cd6170e98..c558f5b1d 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -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); |