diff options
Diffstat (limited to 'capplet/settings/mail-guess-servers.c')
-rw-r--r-- | capplet/settings/mail-guess-servers.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c index 66200cc5aa..9df7686356 100644 --- a/capplet/settings/mail-guess-servers.c +++ b/capplet/settings/mail-guess-servers.c @@ -91,7 +91,6 @@ xml_to_gchar (xmlChar *xml, EmailProvider *provider) static SoupMessage * get_url (SoupSession *session, const gchar *url) { - const gchar *name; SoupMessage *msg; const gchar *header; @@ -100,8 +99,6 @@ get_url (SoupSession *session, const gchar *url) soup_session_send_message (session, msg); - name = soup_message_get_uri (msg)->path; - if (SOUP_STATUS_IS_REDIRECTION (msg->status_code)) { header = soup_message_headers_get_one (msg->response_headers, "Location"); @@ -167,7 +164,7 @@ static gboolean parse_message (const gchar *msg, gint length, EmailProvider *provider) { xmlDocPtr doc; - xmlNodePtr node, top; + xmlNodePtr node; doc = xmlReadMemory (msg, length, "file.xml", NULL, 0); @@ -197,7 +194,6 @@ parse_message (const gchar *msg, gint length, EmailProvider *provider) return FALSE; } - top = node; node = node->children; while (node) { if (strcmp ((gchar *)node->name, "incomingServer") == 0) { |