From d52c1fb406b1cef82c5f5a28fc1804d7d99a49d8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 17 Nov 2016 01:35:29 +0300 Subject: Add support for build2 for tests and examples --- cli/context.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/context.cxx') diff --git a/cli/context.cxx b/cli/context.cxx index 7cec6e3..1c70cc7 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -404,8 +404,8 @@ format_line (output_type ot, string& r, const char* s, size_t n) vector blocks; string link_target; - string link_section; // If not empty, man section; target is man name. - bool link_empty; // Link has no text. + string link_section; // If not empty, man section; target is man name. + bool link_empty (false); // Link has no text. bool escape (false); for (size_t i (0); i < n; ++i) @@ -1186,7 +1186,7 @@ format (semantics::scope& scope, string const& s, bool para) // Number of li in ol. Since we don't support nested lists, we don't // need to push it into the stack. // - size_t ol_count; + size_t ol_count (0); // Mapping of \h to HTML tag. By default it is

until we encounter // \h0 or \h1 at which point we change it to

. @@ -1283,7 +1283,7 @@ format (semantics::scope& scope, string const& s, bool para) // First determine what kind of paragraph block this is. // - block::kind_type k; + block::kind_type k (block::h); string id; string header; string trailer; -- cgit v1.1