util/AllocatedString: add default constructor

This commit is contained in:
Max Kellermann
2021-01-14 13:02:30 +01:00
committed by Max Kellermann
parent cfb7f8ab84
commit 32b7b2e2fa
3 changed files with 5 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ bool
HttpdClient::SendResponse() noexcept
{
char buffer[1024];
AllocatedString allocated = nullptr;
AllocatedString allocated;
const char *response;
assert(state == State::RESPONSE);