From: Russell Bryant Date: Thu, 8 Dec 2005 17:52:43 +0000 (+0000) Subject: fix a bug from the recent removal of deprecated applications by initializing X-Git-Tag: 1.4.0-beta1~3210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444eac93ab99cedc03d56266f8e8ab5522554b26;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_db.c b/apps/app_db.c index 24f78f083e..f92bbf10e9 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;