diff options
Diffstat (limited to 'src/jsapi-libdom-property.c')
-rw-r--r-- | src/jsapi-libdom-property.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jsapi-libdom-property.c b/src/jsapi-libdom-property.c index 0f82c3f..ce82cae 100644 --- a/src/jsapi-libdom-property.c +++ b/src/jsapi-libdom-property.c @@ -749,7 +749,7 @@ output_property_placeholder(struct binding *binding, struct webidl_node* oplist, const char *ident) { - oplist=oplist; + UNUSED(oplist); WARN(WARNING_UNIMPLEMENTED, "property %s.%s has no implementation\n", @@ -894,7 +894,7 @@ static int webidl_property_body_cb(struct webidl_node *node, void *ctx) const char *ident; struct webidl_node *type_node; const char *type = NULL; - int ret; + int ret = 0; enum genbind_type_modifier shared_mod; ident_node = webidl_node_find_type(webidl_node_getnode(node), @@ -1014,7 +1014,7 @@ output_property_type_setter(struct binding *binding, const char *type) { struct genbind_node *property_node; - node = node;/* currently unused */ + UNUSED(node); fprintf(binding->outfile, "static JSBool\n" @@ -1052,7 +1052,7 @@ output_property_type_setter(struct binding *binding, static int output_property_type_getter(struct binding *binding, struct genbind_node *node, const char *type) { struct genbind_node *property_node; - node = node;/* currently unused */ + UNUSED(node); fprintf(binding->outfile, "static JSBool JSAPI_PROP(%s_get, JSContext *cx, JSObject *obj, jsval *vp)\n" |