mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[spidermonkey] unused variables
This commit is contained in:
parent
37afb1de72
commit
1f20379087
@ -1304,7 +1304,6 @@ document_write_do(JSContext *ctx, unsigned int argc, JS::Value *rval, int newlin
|
||||
}
|
||||
|
||||
struct ecmascript_interpreter *interpreter = (struct ecmascript_interpreter *)JS::GetRealmPrivate(comp);
|
||||
JS::Value val;
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
|
||||
struct string code;
|
||||
|
@ -1316,7 +1316,6 @@ form_reset(JSContext *ctx, unsigned int argc, JS::Value *rval)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::RootedObject parent_doc(ctx); /* instance of @document_class */
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
JS::RootedObject hobj(ctx, &args.thisv().toObject());
|
||||
@ -1363,7 +1362,6 @@ form_submit(JSContext *ctx, unsigned int argc, JS::Value *rval)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::RootedObject parent_doc(ctx); /* instance of @document_class */
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
JS::RootedObject hobj(ctx, &args.thisv().toObject());
|
||||
|
@ -46,7 +46,6 @@ implementation_createHTMLDocument(JSContext *ctx, unsigned int argc, JS::Value *
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::RootedObject parent_doc(ctx); /* instance of @document_class */
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
JS::RootedObject hobj(ctx, &args.thisv().toObject());
|
||||
|
@ -1686,7 +1686,6 @@ input_click(JSContext *ctx, unsigned int argc, JS::Value *rval)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::RootedObject parent_form(ctx); /* instance of @form_class */
|
||||
JS::RootedObject parent_doc(ctx); /* instance of @document_class */
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
@ -1756,7 +1755,6 @@ input_focus(JSContext *ctx, unsigned int argc, JS::Value *rval)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::RootedObject parent_form(ctx); /* instance of @form_class */
|
||||
JS::RootedObject parent_doc(ctx); /* instance of @document_class */
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
|
@ -159,7 +159,6 @@ window_alert(JSContext *ctx, unsigned int argc, JS::Value *rval)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
JS::Value val;
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, rval);
|
||||
// JS::RootedObject hobj(ctx, &args.thisv().toObject());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user