diff options
author | Rob Kendrick (humdrum) <rob.kendrick@codethink.co.uk> | 2013-04-25 15:34:05 +0100 |
---|---|---|
committer | Rob Kendrick (humdrum) <rob.kendrick@codethink.co.uk> | 2013-04-25 15:34:05 +0100 |
commit | 2d7c91290599619a78a6dfdd9ec230a76afe57a4 (patch) | |
tree | 1d5dbb7c1642a7792d4f6da9fbc86ead9c699eb9 /src/jsapi-libdom-property.c | |
parent | 4fae88dac6f26991335a66948ad29f480f7f148f (diff) | |
download | nsgenbind-rjek/clang-warnings.tar.gz nsgenbind-rjek/clang-warnings.tar.bz2 |
Silence warnings from clangrjek/clang-warnings
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" |