summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm_protobuf.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 20:16:59 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 20:34:35 +0200
commit4f4060f6abbfa004e0eb63b7c447776cc74c8d66 (patch)
treedb67b768f3c17767dc6aff86e17da01590b26df8 /zebra/zebra_fpm_protobuf.c
parentf70247febe1e61bb77f9ba318a7dea55491d0b84 (diff)
*: fix clang-6 SA warnings
I don't see these in CI, but my local clang-6 does emit warnings for these. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'zebra/zebra_fpm_protobuf.c')
-rw-r--r--zebra/zebra_fpm_protobuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_fpm_protobuf.c b/zebra/zebra_fpm_protobuf.c
index ebd632270c..be0f6a23be 100644
--- a/zebra/zebra_fpm_protobuf.c
+++ b/zebra/zebra_fpm_protobuf.c
@@ -129,6 +129,7 @@ static inline int add_nexthop(qpb_allocator_t *allocator, Fpm__AddRoute *msg,
}
// TODO: Use src.
+ (void)src;
return 1;
}