Skip to content

Commit 01ba7a5

Browse files
committed
initialize msg
1 parent a4d3b03 commit 01ba7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)