Skip to content

Commit afe25b6

Browse files
committed
initialize msg
1 parent 0807f32 commit afe25b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxy/http/HttpBodyFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class HttpBodyFactory
166166
size_t content_language_buf_size, char *content_type_out_buf, size_t content_type_buf_size,
167167
const char *format, ...)
168168
{
169-
char *msg;
169+
char *msg = nullptr;
170170
va_list ap;
171171
if (format) {
172172
// The length from ink_bvsprintf includes the trailing NUL, so adjust the final

0 commit comments

Comments
 (0)