Fix potential use of context, parkinglot, and prefs before they are
initialized.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@359534
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
{
char *cat = NULL;
struct ast_config *cfg = NULL;
- char context[AST_MAX_CONTEXT];
- char parkinglot[AST_MAX_CONTEXT];
+ char context[AST_MAX_CONTEXT] = "";
+ char parkinglot[AST_MAX_CONTEXT] = "";
int allowguest = 1;
struct ast_variable *var;
struct gtalk *member;
- struct ast_codec_pref prefs;
+ struct ast_codec_pref prefs = { "", };
struct aji_client_container *clients;
struct gtalk_candidate *global_candidates = NULL;
struct hostent *hp;