aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-01-30 00:30:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-08 18:43:02 +0300
commitcc2efd2c70b1cdd28c375674c62f9d5f131f6908 (patch)
treeaee656f1524323f1d3283774b7d7c42fff859a13
parent4fe188dee733c28b8b7d2d6b3e7d7904d1d30b65 (diff)
Suppress GCC's 'maybe uninitialized' warning (-O3)
-rw-r--r--libbpkg/manifest.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{