Merge pull request #2583 from donaldsharp/more_warnings

zebra: Fix use of uninited variable
This commit is contained in:
Russ White 2018-06-29 13:39:42 -04:00 committed by GitHub
commit b46f306ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ static int zserv_write(struct thread *thread)
{
struct zserv *client = THREAD_ARG(thread);
struct stream *msg;
uint32_t wcmd;
uint32_t wcmd = 0;
struct stream_fifo *cache;
/* If we have any data pending, try to flush it first */