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

Mark Doliner <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: de73d2ecffe864a1c3893566a59189fe10011feb
Author:	 Mark Doliner <[email protected]>
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 */
 
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.