mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 18:50:39 +00:00
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>
This commit is contained in:
parent
b707100701
commit
6fb51ccbf5
@ -995,7 +995,7 @@ int dplane_provider_register(const char *name,
|
|||||||
struct zebra_dplane_provider **prov_p)
|
struct zebra_dplane_provider **prov_p)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
struct zebra_dplane_provider *p, *last;
|
struct zebra_dplane_provider *p = NULL, *last;
|
||||||
|
|
||||||
/* Validate */
|
/* Validate */
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user