mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 17:02:54 +00:00
zebra: Fix use of uninited variable
Allow compiler to think the value is actually set to something useful in an impossible case. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d6076845b3
commit
ce4f1050ca
@ -198,7 +198,7 @@ static int zserv_write(struct thread *thread)
|
|||||||
{
|
{
|
||||||
struct zserv *client = THREAD_ARG(thread);
|
struct zserv *client = THREAD_ARG(thread);
|
||||||
struct stream *msg;
|
struct stream *msg;
|
||||||
uint32_t wcmd;
|
uint32_t wcmd = 0;
|
||||||
struct stream_fifo *cache;
|
struct stream_fifo *cache;
|
||||||
|
|
||||||
/* If we have any data pending, try to flush it first */
|
/* If we have any data pending, try to flush it first */
|
||||||
|
Loading…
Reference in New Issue
Block a user