summaryrefslogtreecommitdiff
path: root/apps/app_db.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-12-08 17:52:43 +0000
committerRussell Bryant <russell@russellbryant.com>2005-12-08 17:52:43 +0000
commit444eac93ab99cedc03d56266f8e8ab5522554b26 (patch)
tree4a8ad7106eec38e926c63ce88ce64186d801efbb /apps/app_db.c
parent13d25649b2d91c0915efabf9694787208dd13457 (diff)
fix a bug from the recent removal of deprecated applications by initializing
a variable on its first use (issue #5951) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;