mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Fix compiler warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -208,8 +208,8 @@ static struct stasis_message_route *route_create( | ||||
| static int add_route(struct stasis_message_router *router, | ||||
| 		     struct stasis_message_route *route) | ||||
| { | ||||
| 	SCOPED_AO2LOCK(lock, router); | ||||
| 	RAII_VAR(struct stasis_message_route *, existing_route, NULL, ao2_cleanup); | ||||
| 	SCOPED_AO2LOCK(lock, router); | ||||
|  | ||||
| 	if ((existing_route = find_route(router, route->message_type))) { | ||||
| 		return -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user