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 c70b63c183
commit 1caf57644f
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);