summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>2013-01-03 14:06:06 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-03 14:06:06 +0000
commit9365f021376b7c139dc7fe38dca3f45b0d290db5 (patch)
tree7d366d7ecbbc951ee1e43653583ae873dbe9e15c /src
parentdaec0f2e74ff74bd7b9323f2e090d7d0c6e180c7 (diff)
edbus codegen: Surpress unused parameters warnings
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 82075
Diffstat (limited to 'src')
-rw-r--r--src/bin/edbus/parser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/edbus/parser.c b/src/bin/edbus/parser.c
index 7ddd1a50d7..96a8f9e354 100644
--- a/src/bin/edbus/parser.c
+++ b/src/bin/edbus/parser.c
@@ -46,7 +46,7 @@ obj_attributes_parser(void *data, const char *key, const char *value)
46} 46}
47 47
48static Eina_Bool 48static Eina_Bool
49iface_attributes_parser(void *data, const char *key, const char *value) 49iface_attributes_parser(void *data EINA_UNUSED, const char *key, const char *value)
50{ 50{
51 if (!strcmp(key, NAME_ATTR)) 51 if (!strcmp(key, NAME_ATTR))
52 iface->name = strdup(value); 52 iface->name = strdup(value);
@@ -55,7 +55,7 @@ iface_attributes_parser(void *data, const char *key, const char *value)
55} 55}
56 56
57static Eina_Bool 57static Eina_Bool
58signal_attributes_parser(void *data, const char *key, const char *value) 58signal_attributes_parser(void *data EINA_UNUSED, const char *key, const char *value)
59{ 59{
60 if (!strcmp(key, NAME_ATTR)) 60 if (!strcmp(key, NAME_ATTR))
61 d_signal->name = strdup(value); 61 d_signal->name = strdup(value);
@@ -64,7 +64,7 @@ signal_attributes_parser(void *data, const char *key, const char *value)
64} 64}
65 65
66static Eina_Bool 66static Eina_Bool
67arg_attributes_parser(void *data, const char *key, const char *value) 67arg_attributes_parser(void *data EINA_UNUSED, const char *key, const char *value)
68{ 68{
69 DBus_Arg *arg = data; 69 DBus_Arg *arg = data;
70 if (!strcmp(key, NAME_ATTR)) 70 if (!strcmp(key, NAME_ATTR))
@@ -78,7 +78,7 @@ arg_attributes_parser(void *data, const char *key, const char *value)
78} 78}
79 79
80static Eina_Bool 80static Eina_Bool
81method_attributes_parser(void *data, const char *key, const char *value) 81method_attributes_parser(void *data EINA_UNUSED, const char *key, const char *value)
82{ 82{
83 if (!strcmp(key, NAME_ATTR)) 83 if (!strcmp(key, NAME_ATTR))
84 method->name = strdup(value); 84 method->name = strdup(value);
@@ -87,7 +87,7 @@ method_attributes_parser(void *data, const char *key, const char *value)
87} 87}
88 88
89static Eina_Bool 89static Eina_Bool
90property_attributes_parser(void *data, const char *key, const char *value) 90property_attributes_parser(void *data EINA_UNUSED, const char *key, const char *value)
91{ 91{
92 if (!strcmp(key, NAME_ATTR)) 92 if (!strcmp(key, NAME_ATTR))
93 property->name = strdup(value); 93 property->name = strdup(value);
@@ -433,7 +433,7 @@ open_tag(const char *content, unsigned length, Eina_Bool is_open_empty, DBus_Obj
433} 433}
434 434
435static Eina_Bool 435static Eina_Bool
436close_tag(const char *content, unsigned length) 436close_tag(const char *content)
437{ 437{
438 if (!strncmp(content, INTERFACE_TAG, INTERFACE_TAG_LENGHT)) 438 if (!strncmp(content, INTERFACE_TAG, INTERFACE_TAG_LENGHT))
439 interface_close(); 439 interface_close();
@@ -448,7 +448,7 @@ close_tag(const char *content, unsigned length)
448} 448}
449 449
450Eina_Bool 450Eina_Bool
451parser(void *data, Eina_Simple_XML_Type type, const char *content, unsigned offset, unsigned length) 451parser(void *data, Eina_Simple_XML_Type type, const char *content, unsigned offset EINA_UNUSED, unsigned length)
452{ 452{
453 Eina_Bool r = EINA_TRUE; 453 Eina_Bool r = EINA_TRUE;
454 DBus_Object **obj = data; 454 DBus_Object **obj = data;
@@ -464,7 +464,7 @@ parser(void *data, Eina_Simple_XML_Type type, const char *content, unsigned offs
464 } 464 }
465 case EINA_SIMPLE_XML_CLOSE: 465 case EINA_SIMPLE_XML_CLOSE:
466 { 466 {
467 r = close_tag(content, length); 467 r = close_tag(content);
468 break; 468 break;
469 } 469 }
470 default: 470 default: