remove stray goto

This commit is contained in:
Anthony Minessale 2012-10-01 12:39:16 -05:00
parent ece61bb7d3
commit 0995d133a6
1 changed files with 0 additions and 4 deletions

View File

@ -702,8 +702,6 @@ static JSBool event_chat_execute(JSContext * cx, JSObject * obj, uintN argc, jsv
arg = JS_GetStringBytes(JS_ValueToString(cx, argv[1]));
}
goto end;
switch_core_execute_chat_app(eo->event, app, arg);
*rval = BOOLEAN_TO_JSVAL(JS_TRUE);
@ -711,8 +709,6 @@ static JSBool event_chat_execute(JSContext * cx, JSObject * obj, uintN argc, jsv
}
}
end:
*rval = BOOLEAN_TO_JSVAL(JS_FALSE);
return JS_FALSE;
}