summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-01-21 21:11:58 +0000
committerOlle Johansson <oej@edvina.net>2008-01-21 21:11:58 +0000
commit8f19d8523bf411053a7c06562be2398e90f99b49 (patch)
treead90cc31d7df58f11cad0a9cd4b7f8fbb58b685c /channels
parentfcaeb2d722c3e00317423cc55a6fed3dcddc7e94 (diff)
Remove compiler warning for uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_console.c2
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);