From 2bdcc55c22dc4ed019f81032347e861bec69ff6f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jul 2019 12:01:29 +0300 Subject: Zero-initialize scheme in basic_url default constructor to suppress 'may be used uninitialized' GCC 8.3 warning --- libbutl/url.mxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1