[evolution] Fix an unused-but-set-variable warning.



commit 184ec36d35db3c2e0377a1845390070a23a7cf64
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jun 2 08:35:58 2012 -0400

    Fix an unused-but-set-variable warning.

 modules/mail/e-mail-shell-backend.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 709626b..2633b72 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -711,8 +711,10 @@ void
 e_mail_shell_backend_new_account (EMailShellBackend *mail_shell_backend,
                                   GtkWindow *parent)
 {
+#ifdef WITH_CAPPLET
 	EShell *shell;
 	EShellBackend *shell_backend;
+#endif /* WITH_CAPPLET */
 	EMailShellBackendPrivate *priv;
 
 	g_return_if_fail (mail_shell_backend != NULL);
@@ -725,10 +727,10 @@ e_mail_shell_backend_new_account (EMailShellBackend *mail_shell_backend,
 		return;
 	}
 
+#ifdef WITH_CAPPLET
 	shell_backend = E_SHELL_BACKEND (mail_shell_backend);
 	shell = e_shell_backend_get_shell (shell_backend);
 
-#ifdef WITH_CAPPLET
 	if (e_shell_get_express_mode (shell))
 		priv->assistant = mail_capplet_shell_new (0, TRUE, FALSE);
 #endif /* WITH_CAPPLET */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]