From defe21c79fb7d458eb3217d90fce0bfdfed4ba29 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 15 Sep 2015 02:59:04 -0700 Subject: [PATCH] zebra/solaris: fix uninitialised vars Signed-off-by: David Lamparter (cherry picked from commit 6d9362274e8ba2d57ffe17aa735eb941ac3d5fbc) --- zebra/ioctl_solaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/ioctl_solaris.c b/zebra/ioctl_solaris.c index 6c1c254a70..7c1e602e2d 100644 --- a/zebra/ioctl_solaris.c +++ b/zebra/ioctl_solaris.c @@ -309,7 +309,7 @@ if_get_flags_direct (const char *ifname, uint64_t *flags, unsigned int af) void if_get_flags (struct interface *ifp) { - int ret4, ret6; + int ret4 = 0, ret6 = 0; uint64_t newflags = 0; uint64_t tmpflags; -- 2.39.5