diff options
author | 2018-08-04 16:42:46 +0000 | |
---|---|---|
committer | 2018-08-04 16:42:46 +0000 | |
commit | e64b3f5d751f0fdb030c1925cccda30a2ee8ef01 (patch) | |
tree | ef5612aa5829d8f603cab8cd653ff8c711d927e5 | |
parent | Add regress test to ensure that chmod fails when unveiled with "r" (diff) | |
download | wireguard-openbsd-e64b3f5d751f0fdb030c1925cccda30a2ee8ef01.tar.xz wireguard-openbsd-e64b3f5d751f0fdb030c1925cccda30a2ee8ef01.zip |
avoid using a value uninitialised
ok kevlo@
-rw-r--r-- | sys/dev/usb/if_mue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/if_mue.c b/sys/dev/usb/if_mue.c index 379e9074eb8..e943edcf27a 100644 --- a/sys/dev/usb/if_mue.c +++ b/sys/dev/usb/if_mue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mue.c,v 1.2 2018/08/03 06:19:15 kevlo Exp $ */ +/* $OpenBSD: if_mue.c,v 1.3 2018/08/04 16:42:46 jsg Exp $ */ /* * Copyright (c) 2018 Kevin Lo <kevlo@openbsd.org> @@ -330,6 +330,7 @@ mue_miibus_statchg(struct device *dev) } } + threshold = 0; flow = 0; if (IFM_OPTIONS(mii->mii_media_active) & IFM_FDX) { if (IFM_OPTIONS(mii->mii_media_active) & IFM_ETH_TXPAUSE) { |