]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Let compilation succeed warning-free when DONT_OPTIMIZE is turned off.
authorMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:44:43 +0000 (21:44 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:44:43 +0000 (21:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@259104 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 679a41fb1fad6ba418715b58771b3c22929968c5..752911b590e32af6e033b796a24512dcf5b5a03f 100644 (file)
@@ -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) {