aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-22 09:01:29 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-22 09:02:09 (GMT)
commit2bdcc55c22dc4ed019f81032347e861bec69ff6f (patch)
treeb51625b8349e811da829f4b7d0eb31d8c20efbc4
parent01f300ff91346ebbc8204db04e59a0ff38a30df6 (diff)
Zero-initialize scheme in basic_url default constructor to suppress 'may be used uninitialized' GCC 8.3 warning
-rw-r--r--libbutl/url.mxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/url.mxx b/libbutl/url.mxx
index ea01725..0a5daa1 100644
--- a/libbutl/url.mxx
+++ b/libbutl/url.mxx
@@ -274,7 +274,7 @@ LIBBUTL_MODEXPORT namespace butl
// Create an empty URL object.
//
- basic_url (): empty_ (true) {}
+ basic_url (): scheme (), empty_ (true) {}
// Create the URL object from its string representation. Verify that the
// string is compliant to the generic URL syntax. URL-decode and validate