summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-01-11 19:38:41 +0100
committerMark Stapp <mjs@voltanet.io>2019-01-11 19:38:41 +0100
commit6fb51ccbf578abafd6be2011ae9b06fef8ee302b (patch)
tree2809eb1d3020a6a81195d923700a2b99a45122fa /zebra
parentMerge pull request #3599 from donaldsharp/vtysh_sharp (diff)
downloadfrr-6fb51ccbf578abafd6be2011ae9b06fef8ee302b.tar.xz
frr-6fb51ccbf578abafd6be2011ae9b06fef8ee302b.zip
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')
-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 c7713c85f..feede21cd 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) {