about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-08-09 20:12:44 -0400
committerJune McEnroe <june@causal.agency>2021-08-09 20:12:44 -0400
commita585b1b073459187adeeba1bc9512eb556045b24 (patch)
tree602cb131ece8fa3c9bdd70338bec737013978308
parentUse (bright) red for \com text macro (diff)
downloadcatgirl-a585b1b073459187adeeba1bc9512eb556045b24.tar.gz
catgirl-a585b1b073459187adeeba1bc9512eb556045b24.zip
Silence maybe uninitialized warning
Wouldn't happen anyway since configPath will always return at least
one path.
Diffstat (limited to '')
-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);