about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index e1e5bf9..2d7f23d 100644
--- a/irc.c
+++ b/irc.c
@@ -52,7 +52,7 @@ void ircConfig(
 	config = tls_config_new();
 	if (!config) errx(EX_SOFTWARE, "tls_config_new");
 
-	int error;
+	int error = 0;
 	if (insecure) {
 		tls_config_insecure_noverifycert(config);
 		tls_config_insecure_noverifyname(config);