diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-12 22:12:13 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-17 18:45:02 -0500 | 
| commit | 4b2792b53b85533011e3943fc62810b0da3b6a95 (patch) | |
| tree | 61788587312ace0c427b2bb7f2a155ebf7411a80 /zebra/zebra_fpm.c | |
| parent | 7b25dca6b7d599f5e885b21ed40dc0fb418c4bcc (diff) | |
zebra: Cleanup zebra_static CLANG/SA issues.
When compiling using CLANG's SA, cleanup the
SA issues found.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_fpm.c')
| -rw-r--r-- | zebra/zebra_fpm.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c index 80512c71f6..8b337152b4 100644 --- a/zebra/zebra_fpm.c +++ b/zebra/zebra_fpm.c @@ -1622,14 +1622,16 @@ zfpm_init_message_format (const char *format)  {    int have_netlink, have_protobuf; -  have_netlink = have_protobuf = 0; -  #ifdef HAVE_NETLINK    have_netlink = 1; +#else +  have_netlink = 0;  #endif  #ifdef HAVE_PROTOBUF    have_protobuf = 1; +#else +  have_protobuf = 0;  #endif    zfpm_g->message_format = ZFPM_MSG_FORMAT_NONE;  | 
