aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-15 23:16:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-16 10:50:05 +0800
commitcae22334fa6bc395ccc421b09e0af94c89297c41 (patch)
tree84881f467c0448db044d8bb3533e044a7152bb2b /plugins/groupwise-features
parentd37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff)
downloadgsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip
Remove dead assignments found by clang.
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r--plugins/groupwise-features/camel-gw-listener.c11
-rw-r--r--plugins/groupwise-features/share-folder.c1
-rw-r--r--plugins/groupwise-features/status-track.c1
3 files changed, 1 insertions, 12 deletions
diff --git a/plugins/groupwise-features/camel-gw-listener.c b/plugins/groupwise-features/camel-gw-listener.c
index a23e39ed00..b65ba9768f 100644
--- a/plugins/groupwise-features/camel-gw-listener.c
+++ b/plugins/groupwise-features/camel-gw-listener.c
@@ -213,7 +213,7 @@ add_esource (const gchar *conf_key, GwAccountInfo *info, const gchar *source_na
source = e_source_new (source_name, relative_uri);
e_source_set_property (source, "auth", "1");
e_source_set_property (source, "username", url->user);
- e_source_set_property (source, "port", camel_url_get_param (url, "soap_port"));
+ e_source_set_property (source, "port", soap_port);
e_source_set_property (source, "auth-domain", "Groupwise");
e_source_set_property (source, "use_ssl", use_ssl);
@@ -433,7 +433,6 @@ remove_calendar_tasks_sources (GwAccountInfo *info)
{
CamelURL *url;
gchar *relative_uri;
- const gchar *soap_port;
const gchar *poa_address;
url = camel_url_new (info->source_url, NULL);
@@ -442,10 +441,6 @@ remove_calendar_tasks_sources (GwAccountInfo *info)
if (!poa_address || strlen (poa_address) ==0)
return;
- soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
- soap_port = "7191";
-
relative_uri = g_strdup_printf ("%s@%s/", url->user, poa_address);
remove_esource ("/apps/evolution/calendar/sources", info->name, _("Calendar"), relative_uri);
remove_esource ("/apps/evolution/tasks/sources", info->name, _("Checklist"), relative_uri);
@@ -755,7 +750,6 @@ remove_addressbook_sources (GwAccountInfo *existing_account_info)
gboolean found_group;
CamelURL *url;
gchar *base_uri;
- const gchar *soap_port;
GConfClient *client;
const gchar *poa_address;
@@ -768,9 +762,6 @@ remove_addressbook_sources (GwAccountInfo *existing_account_info)
if (!poa_address || strlen (poa_address) ==0)
return;
- soap_port = camel_url_get_param (url, "soap_port");
- if (!soap_port || strlen (soap_port) == 0)
- soap_port = "7191";
base_uri = g_strdup_printf ("groupwise://%s@%s", url->user, poa_address);
client = gconf_client_get_default ();
list = e_source_list_new_for_gconf (client, "/apps/evolution/addressbook/sources" );
diff --git a/plugins/groupwise-features/share-folder.c b/plugins/groupwise-features/share-folder.c
index 24772a89bc..cae99e77d0 100644
--- a/plugins/groupwise-features/share-folder.c
+++ b/plugins/groupwise-features/share-folder.c
@@ -482,7 +482,6 @@ not_ok_clicked(GtkButton *button, ShareFolder *sf)
GtkTextIter *start, *end;
GtkTextBuffer *buffer;
- buffer = gtk_text_buffer_new (NULL);
start = g_new0 (GtkTextIter, 1);
end = g_new0 (GtkTextIter, 1);
subj = g_strdup (gtk_entry_get_text (sf->subject));
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index 622fc3b6cd..f1b05ea477 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -177,7 +177,6 @@ gw_track_message_status_cb (GtkAction *action, EShellView *shell_view)
/* spacing */
widget = gtk_label_new ("");
gtk_table_attach (table, widget, 0, 1, row, row + 1, GTK_FILL, 0, 0, 0);
- row++;
/* Table headers */
row = 0;