[exim-cvs] Make sure rc is initialised

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Make sure rc is initialised
Gitweb: http://git.exim.org/exim.git/commitdiff/d641a34087b20f3f6026eeaf35ddebfdf70cbf65
Commit:     d641a34087b20f3f6026eeaf35ddebfdf70cbf65
Parent:     89f897c3fdb4c1342b3e9b9f6cb33cd0f869e2aa
Author:     Phil Pennock <pdp@???>
AuthorDate: Sat Sep 24 03:12:05 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Sat Sep 24 03:12:05 2011 -0400


    Make sure rc is initialised
---
 src/src/tls-gnu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index 6b80637..f77768f 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -235,7 +235,7 @@ Returns:     TRUE/FALSE
 static BOOL
 verify_certificate(gnutls_session session, const char **error)
 {
-int rc;
+int rc = -1;
 uschar *dn_string = US"";
 const gnutls_datum *cert;
 unsigned int verify, cert_size = 0;