[libcroco] Fix the unused arguments warnings
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] Fix the unused arguments warnings
- Date: Tue, 5 Aug 2014 12:14:38 +0000 (UTC)
commit 06e15e28d24f1f4cfbf9de2d3224a076ae3b3b4c
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Tue Aug 5 08:20:27 2014 +0000
Fix the unused arguments warnings
https://bugzilla.gnome.org/show_bug.cgi?id=710076
src/cr-om-parser.c | 9 +++++++++
tests/test2-main.c | 2 ++
tests/test3-main.c | 2 ++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/cr-om-parser.c b/src/cr-om-parser.c
index ea622e3..a19e06a 100644
--- a/src/cr-om-parser.c
+++ b/src/cr-om-parser.c
@@ -386,6 +386,9 @@ end_page (CRDocHandler * a_this,
ParsingContext **ctxtptr = NULL;
CRStatement *stmt = NULL;
+ (void) a_page;
+ (void) a_pseudo_page;
+
g_return_if_fail (a_this);
ctxtptr = &ctxt;
status = cr_doc_handler_get_ctxt (a_this, (gpointer *) ctxtptr);
@@ -449,6 +452,8 @@ end_media (CRDocHandler * a_this, GList * a_media_list)
ParsingContext **ctxtptr = NULL;
CRStatement *stmts = NULL;
+ (void) a_media_list;
+
g_return_if_fail (a_this);
ctxtptr = &ctxt;
status = cr_doc_handler_get_ctxt (a_this, (gpointer *) ctxtptr);
@@ -488,6 +493,8 @@ import_style (CRDocHandler * a_this,
ParsingContext **ctxtptr = NULL;
GList *media_list = NULL ;
+ (void) a_uri_default_ns;
+
g_return_if_fail (a_this);
ctxtptr = &ctxt;
status = cr_doc_handler_get_ctxt (a_this, (gpointer *) ctxtptr);
@@ -561,6 +568,8 @@ end_selector (CRDocHandler * a_this, CRSelector * a_selector_list)
ParsingContext *ctxt = NULL;
ParsingContext **ctxtptr = NULL;
+ (void) a_selector_list;
+
g_return_if_fail (a_this);
ctxtptr = &ctxt;
status = cr_doc_handler_get_ctxt (a_this, (gpointer *) ctxtptr);
diff --git a/tests/test2-main.c b/tests/test2-main.c
index 7d94a80..9ce5cc9 100644
--- a/tests/test2-main.c
+++ b/tests/test2-main.c
@@ -111,6 +111,8 @@ test_import_style (CRDocHandler * a_handler,
CRString * a_uri_default_ns,
CRParsingLocation *a_location)
{
+ (void) a_uri;
+
g_return_if_fail (a_handler) ;
fprintf (stdout, "****************\n");
diff --git a/tests/test3-main.c b/tests/test3-main.c
index 1dd5d07..e730e06 100644
--- a/tests/test3-main.c
+++ b/tests/test3-main.c
@@ -109,6 +109,8 @@ test_import_style (CRDocHandler * a_handler,
{
g_return_if_fail (a_handler);
+ (void) a_uri;
+
fprintf (stdout, "****************\n");
fprintf (stdout, "import_style\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]