[balsa] send.c: Fix the build
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] send.c: Fix the build
- Date: Mon, 22 Jul 2019 13:56:04 +0000 (UTC)
commit b6e1265fceeba1019fde808d097cb1667de6a940
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jul 22 09:55:35 2019 -0400
send.c: Fix the build
* libbalsa/send.c (libbalsa_message_create_mime_message):
LibBalsaIdentity *identity is used only in an autocrypt build.
ChangeLog | 7 +++++++
libbalsa/send.c | 2 ++
2 files changed, 9 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index 630a96816..7b98c618a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-07-22 Peter Bloomfield <pbloomfield bellsouth net>
+
+ send.c: Fix the build
+
+ * libbalsa/send.c (libbalsa_message_create_mime_message):
+ LibBalsaIdentity *identity is used only in an autocrypt build.
+
2019-07-21 Peter Bloomfield <pbloomfield bellsouth net>
balsa-index: Add a convenience function
diff --git a/libbalsa/send.c b/libbalsa/send.c
index 422b01d17..a3e96a8ef 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1229,7 +1229,9 @@ libbalsa_message_create_mime_message(LibBalsaMessage *message,
GList *list;
gboolean attach_pubkey = FALSE;
GtkWindow *parent = g_object_get_data(G_OBJECT(message), "parent-window");
+#ifdef ENABLE_AUTOCRYPT
LibBalsaIdentity *identity;
+#endif /* ENABLE_AUTOCRYPT */
/* attach the public key only if we send the message, not if we just postpone it */
if (!postponing &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]