mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
cdba: remove unnecessary initialisation
Silence Clang warning by removing unused '0' from struct initialisation. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
committed by
Caleb Connolly
parent
bd5c609ad7
commit
18bae8dec9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user