[beagle] Clean up a bunch of warnings in libbeagle
- From: Joe Shaw <joeshaw src gnome org>
- To: svn-commits-list gnome org
- Subject: [beagle] Clean up a bunch of warnings in libbeagle
- Date: Sun, 17 May 2009 10:51:30 -0400 (EDT)
commit 39d26ca89b14d7ebbf28e0d1b9ae58d969cd490a
Author: Joe Shaw <joe joeshaw org>
Date: Sun May 17 10:49:20 2009 -0400
Clean up a bunch of warnings in libbeagle
---
.../beagle/beagle-daemon-information-response.c | 7 -------
libbeagle/beagle/beagle-request.c | 1 -
libbeagle/beagle/beagle-scheduler-information.c | 3 ---
libbeagle/beagle/beagle-util.c | 2 +-
4 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/libbeagle/beagle/beagle-daemon-information-response.c b/libbeagle/beagle/beagle-daemon-information-response.c
index 027a77c..ed49e1d 100644
--- a/libbeagle/beagle/beagle-daemon-information-response.c
+++ b/libbeagle/beagle/beagle-daemon-information-response.c
@@ -113,13 +113,6 @@ start_scheduler_information (BeagleParserContext *ctx, const char **attrs)
}
static void
-end_scheduler_information (BeagleParserContext *ctx)
-{
- BeagleDaemonInformationResponse *response = BEAGLE_DAEMON_INFORMATION_RESPONSE (_beagle_parser_context_get_response (ctx));
- BeagleDaemonInformationResponsePrivate *priv = BEAGLE_DAEMON_INFORMATION_RESPONSE_GET_PRIVATE (response);
-}
-
-static void
end_pending_task (BeagleParserContext *ctx)
{
BeagleDaemonInformationResponse *response = BEAGLE_DAEMON_INFORMATION_RESPONSE (_beagle_parser_context_get_response (ctx));
diff --git a/libbeagle/beagle/beagle-request.c b/libbeagle/beagle/beagle-request.c
index 744c2b3..4c6b745 100644
--- a/libbeagle/beagle/beagle-request.c
+++ b/libbeagle/beagle/beagle-request.c
@@ -293,7 +293,6 @@ request_connect (BeagleRequest *request, const char *path, GError **err)
{
BeagleRequestPrivate *priv;
int sockfd;
- struct sockaddr_un sun;
priv = BEAGLE_REQUEST_GET_PRIVATE (request);
diff --git a/libbeagle/beagle/beagle-scheduler-information.c b/libbeagle/beagle/beagle-scheduler-information.c
index e2f2325..b74a593 100644
--- a/libbeagle/beagle/beagle-scheduler-information.c
+++ b/libbeagle/beagle/beagle-scheduler-information.c
@@ -267,9 +267,6 @@ void _task_to_xml (GSList *task_list, const char *list_name, const char *list_it
void
_beagle_scheduler_information_to_xml (BeagleSchedulerInformation *sched_info, GString *data)
{
- char *tmp, *task;
- GSList *iter;
-
g_string_append_printf (data, "<SchedulerInformation");
g_string_append_printf (data, " TotalTaskCount=\"%d\"", sched_info->total_task_count);
diff --git a/libbeagle/beagle/beagle-util.c b/libbeagle/beagle/beagle-util.c
index dbc9e7b..e494d16 100644
--- a/libbeagle/beagle/beagle-util.c
+++ b/libbeagle/beagle/beagle-util.c
@@ -35,6 +35,7 @@
#include <sys/un.h>
#include "beagle-util.h"
+#include "beagle-private.h"
GQuark
beagle_error_quark (void)
@@ -155,7 +156,6 @@ beagle_util_daemon_is_running (void)
{
gchar *socket_path;
int sockfd;
- struct sockaddr_un sun;
socket_path = beagle_util_get_socket_path (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]