]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 259105 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:48:30 +0000 (21:48 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:48:30 +0000 (21:48 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259105 | mmichelson | 2010-04-26 16:45:13 -0500 (Mon, 26 Apr 2010) | 9 lines

  Merged revisions 259104 via svnmerge from
  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/branches/1.6.2@259109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 800f3890d76277cec50b55e62d3ed0ee3a971991..23bd92968199d117e6f69151d6c5c43c3ad69318 100644 (file)
@@ -778,7 +778,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) {