[libdmapsharing] Fixed compiler warnings Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fixed compiler warnings Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Fri, 28 May 2010 05:57:55 +0000 (UTC)
commit bbd1b867c1d021bee9a0d331459ddc7a69c3f645
Author: W. Michael Petullo <mike flyn org>
Date: Fri May 28 00:59:01 2010 -0500
Fixed compiler warnings
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/daap-share.c | 4 ++--
libdmapsharing/dmap-share.h | 2 ++
libdmapsharing/dpap-share.c | 10 ++--------
3 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/libdmapsharing/daap-share.c b/libdmapsharing/daap-share.c
index 1758037..c4d4fc3 100644
--- a/libdmapsharing/daap-share.c
+++ b/libdmapsharing/daap-share.c
@@ -140,7 +140,7 @@ daap_share_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- DAAPShare *share = DAAP_SHARE (object);
+ // DAAPShare *share = DAAP_SHARE (object);
switch (prop_id) {
default:
@@ -155,7 +155,7 @@ daap_share_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- DAAPShare *share = DAAP_SHARE (object);
+ // DAAPShare *share = DAAP_SHARE (object);
switch (prop_id) {
default:
diff --git a/libdmapsharing/dmap-share.h b/libdmapsharing/dmap-share.h
index 1f5a2df..3da79d5 100644
--- a/libdmapsharing/dmap-share.h
+++ b/libdmapsharing/dmap-share.h
@@ -221,6 +221,8 @@ void _dmap_share_add_playlist_to_mlcl (gpointer id,
GSList * _dmap_share_build_filter (gchar *filterstr);
+void dmap_share_free_filter (GSList *filter);
+
/* Virtual methods (libsoup callbacks with default implementation): */
void _dmap_share_content_codes (DMAPShare *share,
SoupServer *server,
diff --git a/libdmapsharing/dpap-share.c b/libdmapsharing/dpap-share.c
index a31ae6d..cb44ce1 100644
--- a/libdmapsharing/dpap-share.c
+++ b/libdmapsharing/dpap-share.c
@@ -137,7 +137,7 @@ dpap_share_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- DPAPShare *share = DPAP_SHARE (object);
+ // DPAPShare *share = DPAP_SHARE (object);
switch (prop_id) {
/* FIXME: */
@@ -153,7 +153,7 @@ dpap_share_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- DPAPShare *share = DPAP_SHARE (object);
+ // DPAPShare *share = DPAP_SHARE (object);
switch (prop_id) {
default:
@@ -447,12 +447,6 @@ add_entry_to_mlcl (gpointer id,
}
static void
-debug_param (gpointer key, gpointer val, gpointer user_data)
-{
- g_debug ("%s %s", (char *) key, (char *) val);
-}
-
-static void
databases_browse_xxx (DMAPShare *share,
SoupServer *server,
SoupMessage *msg,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]