summaryrefslogtreecommitdiff
path: root/zebra/zebra_dplane.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-01-11 13:38:41 -0500
committerMark Stapp <mjs@voltanet.io>2019-01-11 13:38:41 -0500
commit6fb51ccbf578abafd6be2011ae9b06fef8ee302b (patch)
tree2809eb1d3020a6a81195d923700a2b99a45122fa /zebra/zebra_dplane.c
parentb707100701304347b4fe13eb89efa9d10f81048a (diff)
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>
Diffstat (limited to 'zebra/zebra_dplane.c')
-rw-r--r--zebra/zebra_dplane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index c7713c85f9..feede21cd9 100644
--- a/zebra/zebra_dplane.c
+++ b/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) {