diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 16:54:52 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 16:54:52 +0000 |
commit | 10872f0f2e433a38461603838eec5a22a26da284 (patch) | |
tree | ad9e9fb6846cc1217af5b85ad4325ecdf09b3c24 /apps/app_followme.c | |
parent | 4506e03f3d24f4bd4f6b17803031ede1e353de28 (diff) |
fix some compiler warnings about variables used before initialization
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32604 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r-- | apps/app_followme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index 161fa3b45..ee7e07341 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -479,7 +479,7 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us int *to = ast_calloc(1, sizeof(*to)); int livechannels = 0; int tmpto; - long totalwait = 0, wtd, towas; + long totalwait = 0, wtd, towas = *to; char *callfromname; char *pressbuttonname; @@ -779,7 +779,7 @@ static void findmeexec(void *args) struct number *nm; struct ast_channel *outbound; struct ast_channel *caller; - struct ast_channel *winner; + struct ast_channel *winner = NULL; char dialarg[512]; int dg, idx; char *rest, *number; |