From d4637b864c97d311af641236f69b78a026b176c7 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 26 Apr 2010 21:44:43 +0000 Subject: [PATCH] Let compilation succeed warning-free when DONT_OPTIMIZE is turned off. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@259104 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index 679a41fb1f..752911b590 100644 --- a/main/channel.c +++ b/main/channel.c @@ -714,7 +714,7 @@ struct ast_channel *ast_channel_alloc(int needqueue, int state, const char *cid_ int flags; struct varshead *headp; va_list ap1, ap2; - char *tech; + char *tech = ""; /* If shutting down, don't allocate any new channels */ if (shutting_down) { -- 2.47.2