aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-26 21:44:43 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-26 21:44:43 +0000
commit8f338f501354886f4f692a566f239dd137b3c74d (patch)
tree8e63489f2d59c72b660ab28b5639e793fa1fb11a /main
parentbf4a5ea88a5b308fce39c8c6ff4ac25a77c287f3 (diff)
Let compilation succeed warning-free when DONT_OPTIMIZE is turned off.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@259104 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 679a41fb1..752911b59 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -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) {