forked from cory/tildefriends
Fix some things that GCC 10 doesn't like on raspi.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3690 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -531,7 +531,8 @@ static void _tf_ssb_on_broadcasts_changed_callback(tf_ssb_t* ssb, void* user_dat
|
||||
{
|
||||
JSContext* context = tf_ssb_get_context(ssb);
|
||||
JSValue callback = JS_MKPTR(JS_TAG_OBJECT, user_data);
|
||||
JSValue response = JS_Call(context, callback, JS_UNDEFINED, 1, &JS_UNDEFINED);
|
||||
JSValue argv = JS_UNDEFINED;
|
||||
JSValue response = JS_Call(context, callback, JS_UNDEFINED, 1, &argv);
|
||||
tf_util_report_error(context, response);
|
||||
JS_FreeValue(context, response);
|
||||
}
|
||||
|
Reference in New Issue
Block a user