From: Mark Michelson Date: Mon, 26 Apr 2010 21:44:43 +0000 (+0000) Subject: Let compilation succeed warning-free when DONT_OPTIMIZE is turned off. X-Git-Tag: 1.4.32-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4637b864c97d311af641236f69b78a026b176c7;p=thirdparty%2Fasterisk.git 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 --- 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) {