Skip to content
Snippets Groups Projects
Commit 5f740572 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

Fix compiler warning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5c554dc4
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment