mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 06:44:39 +02:00
Fix spurious uninitialized warning
This commit is contained in:
@@ -9,6 +9,7 @@ HTTP:
|
|||||||
* Tidy up basic_string_body
|
* Tidy up basic_string_body
|
||||||
* Add vector_body
|
* Add vector_body
|
||||||
* span, string, vector bodies are public
|
* span, string, vector bodies are public
|
||||||
|
* Fix spurious uninitialized warning
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -518,7 +518,7 @@ protected:
|
|||||||
string_view& result, error_code& ec)
|
string_view& result, error_code& ec)
|
||||||
{
|
{
|
||||||
auto const first = it;
|
auto const first = it;
|
||||||
char const* token_last;
|
char const* token_last = nullptr;
|
||||||
auto p = parse_token_to_eol(
|
auto p = parse_token_to_eol(
|
||||||
it, last, token_last, ec);
|
it, last, token_last, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
Reference in New Issue
Block a user