fix a bug from the recent removal of deprecated applications by initializing
authorRussell Bryant <russell@russellbryant.com>
Thu, 8 Dec 2005 17:52:43 +0000 (17:52 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 8 Dec 2005 17:52:43 +0000 (17:52 +0000)
a variable on its first use (issue #5951)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_db.c

index 24f78f0..f92bbf1 100644 (file)
@@ -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;