Skip to content
Snippets Groups Projects
Commit f3c518a7 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

don't declare these variables unless needed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b1288df7
No related branches found
No related tags found
No related merge requests found
...@@ -660,14 +660,16 @@ static struct load_order_entry *add_to_load_order(const char *resource, struct l ...@@ -660,14 +660,16 @@ static struct load_order_entry *add_to_load_order(const char *resource, struct l
int load_modules(void) int load_modules(void)
{ {
struct ast_config *cfg; struct ast_config *cfg;
struct dirent *dirent;
DIR *dir;
struct ast_module *mod; struct ast_module *mod;
struct load_order_entry *order; struct load_order_entry *order;
struct ast_variable *v; struct ast_variable *v;
unsigned int load_count; unsigned int load_count;
struct load_order load_order; struct load_order load_order;
int res = 0; int res = 0;
#if LOADABLE_MODULES
struct dirent *dirent;
DIR *dir;
#endif
/* all embedded modules have registered themselves by now */ /* all embedded modules have registered themselves by now */
embedding = 0; embedding = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment