Skip to content
Permalink
Browse files

zebra: Fix uninitialized value warning in dplane code

Fix a gcc-8 warning (at least) about a possible uninitialized
value in the zebra_dplane code.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
  • Loading branch information...
mjstapp committed Jan 11, 2019
1 parent b707100 commit 6fb51ccbf578abafd6be2011ae9b06fef8ee302b
Showing with 1 addition and 1 deletion.
  1. +1 −1 zebra/zebra_dplane.c
@@ -995,7 +995,7 @@ int dplane_provider_register(const char *name,
struct zebra_dplane_provider **prov_p)
{
int ret = 0;
struct zebra_dplane_provider *p, *last;
struct zebra_dplane_provider *p = NULL, *last;

/* Validate */
if (fp == NULL) {

0 comments on commit 6fb51cc

Please sign in to comment.
You can’t perform that action at this time.