diff --git a/cdba-server.c b/cdba-server.c index df6db01..f1a7157 100644 --- a/cdba-server.c +++ b/cdba-server.c @@ -158,7 +158,7 @@ void cdba_send_buf(int type, size_t len, const void *buf) static int handle_stdin(int fd, void *buf) { - static struct circ_buf recv_buf = { 0 }; + static struct circ_buf recv_buf = { }; struct msg *msg; struct msg hdr; size_t n; diff --git a/cdba.c b/cdba.c index a759aed..00c02b1 100644 --- a/cdba.c +++ b/cdba.c @@ -581,7 +581,7 @@ int main(int argc, char **argv) int timeout_total = 600; struct work *next; struct work *work; - struct circ_buf recv_buf = { 0 }; + struct circ_buf recv_buf = { }; const char *board = NULL; const char *host = NULL; struct timeval now;