aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_db.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-08 17:52:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-08 17:52:43 +0000
commit9a2f3a8e8e88da2f492df6ce78f8b00423360762 (patch)
tree4a8ad7106eec38e926c63ce88ce64186d801efbb /apps/app_db.c
parent2fac57f45aafb9969249b0c27bd81b06cc2ebbe7 (diff)
fix a bug from the recent removal of deprecated applications by initializing
a variable on its first use (issue #5951) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7391 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_db.c')
-rw-r--r--apps/app_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_db.c b/apps/app_db.c
index 24f78f083..f92bbf10e 100644
--- a/apps/app_db.c
+++ b/apps/app_db.c
@@ -164,7 +164,7 @@ int load_module(void)
{
int retval;
- retval |= ast_register_application(d_app, del_exec, d_synopsis, d_descrip);
+ retval = ast_register_application(d_app, del_exec, d_synopsis, d_descrip);
retval |= ast_register_application(dt_app, deltree_exec, dt_synopsis, dt_descrip);
return retval;