remove stray goto
This commit is contained in:
parent
ece61bb7d3
commit
0995d133a6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue