Skip to content

Commit

Permalink
Shut-up analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Koekkoek committed Apr 12, 2024
1 parent 9bf92c2 commit bf20841
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xfrd-catalog-zones.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,9 +1111,8 @@ xfr_writer_init(struct xfrd_xfr_writer* xw,
struct xfrd_catalog_producer_zone* producer_zone)
{
xw->producer_zone = producer_zone;
memset(xw->packet_space, 0, sizeof(xw->packet_space));
buffer_create_from( &xw->packet, xw->packet_space
, sizeof(xw->packet_space));
memset(&xw->packet, 0, sizeof(xw->packet));
buffer_create_from(&xw->packet, xw->packet_space, sizeof(xw->packet_space));
buffer_write(&xw->packet, "\000\000\000\000\000\000"
"\000\000\000\000\000\000", 12); /* header */
xw->seq_nr = 0;
Expand Down

0 comments on commit bf20841

Please sign in to comment.