diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-22 12:01:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-22 12:02:09 +0300 |
commit | 2bdcc55c22dc4ed019f81032347e861bec69ff6f (patch) | |
tree | b51625b8349e811da829f4b7d0eb31d8c20efbc4 | |
parent | 01f300ff91346ebbc8204db04e59a0ff38a30df6 (diff) |
Zero-initialize scheme in basic_url default constructor to suppress 'may be used uninitialized' GCC 8.3 warning
-rw-r--r-- | libbutl/url.mxx | 2 |
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 |