Merge pull request #3601 from mjstapp/fix_prov_uninit

zebra: Fix uninitialized value warning in dplane code
This commit is contained in:
Donald Sharp 2019-01-11 15:55:26 -05:00 committed by GitHub
commit d4b690fb3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {