From cc2efd2c70b1cdd28c375674c62f9d5f131f6908 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 Jan 2018 00:30:40 +0300 Subject: Suppress GCC's 'maybe uninitialized' warning (-O3) --- libbpkg/manifest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx index 11282d0..a972793 100644 --- a/libbpkg/manifest.cxx +++ b/libbpkg/manifest.cxx @@ -1821,7 +1821,7 @@ namespace bpkg uint16_t port (url_.authority->port); if (port != 0) { - uint16_t def_port; + uint16_t def_port (0); switch (url_.scheme) { -- cgit v1.1