]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 259105 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:47:02 +0000 (21:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:47:02 +0000 (21:47 +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.0@259106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index fe4a4addcd33aed2c92474730aa939cbf1c0b143..a2a2209f44c04dd95b683eeaa08717994761435b 100644 (file)
@@ -772,7 +772,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) {