]> 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:08 +0000 (21:48 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 26 Apr 2010 21:48:08 +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.1@259108 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 069d8b5e54773fd9c5c4dfe2fde450e6a2b9e2cb..8490bbc2b1baae161322bff31a02307846c110b3 100644 (file)
@@ -777,7 +777,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) {