libepc r221 - in trunk: . tests
- From: hasselmm svn gnome org
- To: svn-commits-list gnome org
- Subject: libepc r221 - in trunk: . tests
- Date: Mon, 7 Apr 2008 22:05:09 +0100 (BST)
Author: hasselmm
Date: Mon Apr 7 22:05:09 2008
New Revision: 221
URL: http://svn.gnome.org/viewvc/libepc?rev=221&view=rev
Log:
Make test suite build with -Werror again.
* tests/framework.c (_epc_test_match_any(), _epc_test_match_one(),
_epc_test_pass_once_per_iface()): Mark unused arguments and change
type of ifidx argument from gint to guint.
Modified:
trunk/ChangeLog
trunk/tests/framework.c
Modified: trunk/tests/framework.c
==============================================================================
--- trunk/tests/framework.c (original)
+++ trunk/tests/framework.c Mon Apr 7 22:05:09 2008
@@ -214,7 +214,7 @@
static gboolean
_epc_test_match_any (const gchar *strloc,
const EpcIfTestStatus *status,
- gint ifidx,
+ guint ifidx G_GNUC_UNUSED,
gint i)
{
const gint mask = (1 << i);
@@ -229,7 +229,7 @@
static gboolean
_epc_test_match_one (const gchar *strloc,
const EpcIfTestStatus *status,
- gint ifidx,
+ guint ifidx,
gint i)
{
if (status->ifidx != ifidx)
@@ -247,7 +247,7 @@
{
gboolean (*match)(const gchar *strloc,
const EpcIfTestStatus *status,
- gint ifidx,
+ guint ifidx,
gint i);
static EpcIfTestStatus *ifaces = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]