diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-09-15 02:59:04 -0700 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 15:33:32 +0000 |
| commit | defe21c79fb7d458eb3217d90fce0bfdfed4ba29 (patch) | |
| tree | 4132703f79cbd94e31c72615d062a6f00f5a6a66 /zebra/ioctl_solaris.c | |
| parent | 8f5e9238dd384e1e375ec0db479ef2fbbe46d520 (diff) | |
zebra/solaris: fix uninitialised vars
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 6d9362274e8ba2d57ffe17aa735eb941ac3d5fbc)
Diffstat (limited to 'zebra/ioctl_solaris.c')
| -rw-r--r-- | zebra/ioctl_solaris.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
