mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
fix some compiler warnings about variables used before initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 *to = ast_calloc(1, sizeof(*to));
|
||||||
int livechannels = 0;
|
int livechannels = 0;
|
||||||
int tmpto;
|
int tmpto;
|
||||||
long totalwait = 0, wtd, towas;
|
long totalwait = 0, wtd, towas = *to;
|
||||||
char *callfromname;
|
char *callfromname;
|
||||||
char *pressbuttonname;
|
char *pressbuttonname;
|
||||||
|
|
||||||
@@ -779,7 +779,7 @@ static void findmeexec(void *args)
|
|||||||
struct number *nm;
|
struct number *nm;
|
||||||
struct ast_channel *outbound;
|
struct ast_channel *outbound;
|
||||||
struct ast_channel *caller;
|
struct ast_channel *caller;
|
||||||
struct ast_channel *winner;
|
struct ast_channel *winner = NULL;
|
||||||
char dialarg[512];
|
char dialarg[512];
|
||||||
int dg, idx;
|
int dg, idx;
|
||||||
char *rest, *number;
|
char *rest, *number;
|
||||||
|
Reference in New Issue
Block a user