/pidgin/main: de73d2ecffe8: Fix missing initializers warning:

Mark Doliner mark at kingant.net
Sun Nov 2 13:43:34 EST 2014


Changeset: de73d2ecffe864a1c3893566a59189fe10011feb
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-11-02 10:44 -0800
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/de73d2ecffe8

Description:

Fix missing initializers warning:

ssl-gnutls.c:1378:1: warning: missing initializer for field 'verify_cert' of 'PurpleCertificateScheme' [-Wmissing-field-initializers]

Related to merging changes from the release-2.x.y branch to default.

diffstat:

 libpurple/plugins/ssl/ssl-gnutls.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (17 lines):

diff --git a/libpurple/plugins/ssl/ssl-gnutls.c b/libpurple/plugins/ssl/ssl-gnutls.c
--- a/libpurple/plugins/ssl/ssl-gnutls.c
+++ b/libpurple/plugins/ssl/ssl-gnutls.c
@@ -1373,8 +1373,11 @@ static PurpleCertificateScheme x509_gnut
 	x509_times,                      /* Activation/Expiration time */
 	x509_importcerts_from_file,      /* Multiple certificates import function */
 	x509_get_der_data,               /* Binary DER data */
-
-	NULL
+	NULL,                            /* register_trusted_tls_cert */
+	NULL,                            /* verify_cert */
+	NULL,                            /* _purple_reserved1 */
+	NULL,                            /* _purple_reserved2 */
+	NULL                             /* _purple_reserved3 */
 
 };
 



More information about the Commits mailing list