diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /modules/addressbook | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-settings.c | 4 | ||||
-rw-r--r-- | modules/addressbook/e-book-shell-view.c | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/modules/addressbook/e-book-shell-settings.c b/modules/addressbook/e-book-shell-settings.c index 7a9544d721..6d6802a1a2 100644 --- a/modules/addressbook/e-book-shell-settings.c +++ b/modules/addressbook/e-book-shell-settings.c @@ -24,10 +24,6 @@ void e_book_shell_backend_init_settings (EShell *shell) { - EShellSettings *shell_settings; - - shell_settings = e_shell_get_shell_settings (shell); - e_shell_settings_install_property_for_key ( "book-completion-show-address", "/apps/evolution/addressbook/completion/show_address"); diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 9ab9cb743a..555ab13abf 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -248,7 +248,6 @@ book_shell_view_execute_search (EShellView *shell_view) static void book_shell_view_update_actions (EShellView *shell_view) { - EBookShellViewPrivate *priv; EShellContent *shell_content; EShellSidebar *shell_sidebar; EShellWindow *shell_window; @@ -262,7 +261,6 @@ book_shell_view_update_actions (EShellView *shell_view) gboolean can_delete_primary_source; gboolean has_primary_source; gboolean multiple_contacts_selected; - gboolean primary_source_is_system; gboolean single_contact_selected; gboolean selection_is_contact_list; gboolean selection_has_email; @@ -272,8 +270,6 @@ book_shell_view_update_actions (EShellView *shell_view) /* Chain up to parent's update_actions() method. */ E_SHELL_VIEW_CLASS (parent_class)->update_actions (shell_view); - priv = E_BOOK_SHELL_VIEW_GET_PRIVATE (shell_view); - shell_window = e_shell_view_get_shell_window (shell_view); shell_content = e_shell_view_get_shell_content (shell_view); @@ -299,8 +295,6 @@ book_shell_view_update_actions (EShellView *shell_view) (state & E_BOOK_SHELL_SIDEBAR_HAS_PRIMARY_SOURCE); can_delete_primary_source = (state & E_BOOK_SHELL_SIDEBAR_CAN_DELETE_PRIMARY_SOURCE); - primary_source_is_system = - (state & E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_SYSTEM); any_contacts_selected = (single_contact_selected || multiple_contacts_selected); |