summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
authorC. McEnroe2021-08-09 20:12:44 -0400
committerC. McEnroe2021-08-09 20:12:44 -0400
commita585b1b073459187adeeba1bc9512eb556045b24 (patch)
tree602cb131ece8fa3c9bdd70338bec737013978308 /irc.c
parent56139227a4e59bc99e7c90bb8b6b0a76bebc4ed6 (diff)
Silence maybe uninitialized warning
Wouldn't happen anyway since configPath will always return at least
one path.
Diffstat (limited to 'irc.c')
-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);