Merged revisions 259104 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:45:13 +0000 (21:45 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:45:13 +0000 (21:45 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r259104 | mmichelson | 2010-04-26 16:44:43 -0500 (Mon, 26 Apr 2010) | 3 lines

  Let compilation succeed warning-free when DONT_OPTIMIZE is turned off.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259105 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 2d23fac..d958559 100644 (file)
@@ -855,7 +855,7 @@ __ast_channel_alloc_ap(int needqueue, int state, const char *cid_num, const char
        int x;
        int flags;
        struct varshead *headp;
-       char *tech;
+       char *tech = "";
 
        /* If shutting down, don't allocate any new channels */
        if (shutting_down) {