Commit d822f302 authored by Daniel Salzman's avatar Daniel Salzman

dnstap: fix variable initialization warning

parent 91f24350
......@@ -23,7 +23,7 @@
uint8_t* dt_pack(const Dnstap__Dnstap *d, uint8_t **buf, size_t *sz)
{
ProtobufCBufferSimple sbuf = {0};
ProtobufCBufferSimple sbuf = { { NULL } };
sbuf.base.append = protobuf_c_buffer_simple_append;
sbuf.len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment