mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Remove unused RAII_VAR() declarations.
* Remove unused RAII_VAR() declarations. The compiler cannot catch these because the cleanup function "references" the unused variable. Some actually allocated and released resources that were never used. * Fixed some whitespace issues in stasis_bridges.c. ........ Merged revisions 412399 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -553,7 +553,6 @@ static int parked_call_app_exec(struct ast_channel *chan, const char *data) | ||||
| { | ||||
| 	RAII_VAR(struct parking_lot *, lot, NULL, ao2_cleanup); | ||||
| 	RAII_VAR(struct parked_user *, pu, NULL, ao2_cleanup); /* Parked user being retrieved */ | ||||
| 	RAII_VAR(struct ast_bridge *, parking_bridge, NULL, ao2_cleanup); | ||||
| 	struct ast_bridge *retrieval_bridge; | ||||
| 	int res; | ||||
| 	int target_space = -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user