From 495fb0a58d30b1135c73fa84d761620cc95cc1b4 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 24 Jan 2021 18:04:46 -0800 Subject: fixes #1415 pair.c compiler warning --- src/testing/marry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testing') diff --git a/src/testing/marry.c b/src/testing/marry.c index c0328df9..be109b7d 100644 --- a/src/testing/marry.c +++ b/src/testing/marry.c @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. +// Copyright 2021 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -220,7 +220,7 @@ replace_port_zero(const char *addr, char *buf, int port) { int i; int j; - bool colon; + bool colon = false; char c; for (i = 0, j = 0; (c = addr[i]) != '\0'; i++) { -- cgit v1.2.3-70-g09d2