[asterisk-commits] kmoore: branch kmoore/parking_unload r396886 - in /team/kmoore/parking_unload...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 16 22:37:59 CDT 2013


Author: kmoore
Date: Fri Aug 16 22:37:57 2013
New Revision: 396886

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396886
Log:
Tweaks as per Richard's final comments

Modified:
    team/kmoore/parking_unload/main/parking.c
    team/kmoore/parking_unload/res/parking/parking_bridge_features.c
    team/kmoore/parking_unload/res/parking/res_parking.h

Modified: team/kmoore/parking_unload/main/parking.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/parking_unload/main/parking.c?view=diff&rev=396886&r1=396885&r2=396886
==============================================================================
--- team/kmoore/parking_unload/main/parking.c (original)
+++ team/kmoore/parking_unload/main/parking.c Fri Aug 16 22:37:57 2013
@@ -226,7 +226,6 @@
 		ao2_global_obj_ref(parking_provider), ao2_cleanup);
 
 	if (!wrapper) {
-		ast_log(AST_LOG_WARNING, "No parking provider to unregister\n");
 		return -1;
 	}
 

Modified: team/kmoore/parking_unload/res/parking/parking_bridge_features.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/parking_unload/res/parking/parking_bridge_features.c?view=diff&rev=396886&r1=396885&r2=396886
==============================================================================
--- team/kmoore/parking_unload/res/parking/parking_bridge_features.c (original)
+++ team/kmoore/parking_unload/res/parking/parking_bridge_features.c Fri Aug 16 22:37:57 2013
@@ -445,12 +445,9 @@
 
 static int feature_park_call(struct ast_bridge_channel *bridge_channel, void *hook_pvt)
 {
-	int res;
 	SCOPED_MODULE_USE(parking_get_module_info()->self);
 
-	res = parking_park_call(bridge_channel, NULL, 0);
-
-	return res;
+	return parking_park_call(bridge_channel, NULL, 0);
 }
 
 /*! \internal

Modified: team/kmoore/parking_unload/res/parking/res_parking.h
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/parking_unload/res/parking/res_parking.h?view=diff&rev=396886&r1=396885&r2=396886
==============================================================================
--- team/kmoore/parking_unload/res/parking/res_parking.h (original)
+++ team/kmoore/parking_unload/res/parking/res_parking.h Fri Aug 16 22:37:57 2013
@@ -462,7 +462,6 @@
  */
 int parking_dynamic_lots_enabled(void);
 
-struct ast_module_info;
 /*!
  * \since 12.0.0
  * \brief Register parking applications
@@ -549,6 +548,7 @@
  */
 void unload_parking_tests(void);
 
+struct ast_module_info;
 /*!
  * \since 12.0.0
  * \brief Get res_parking's module info




More information about the asterisk-commits mailing list