From e64b3f5d751f0fdb030c1925cccda30a2ee8ef01 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 4 Aug 2018 16:42:46 +0000 Subject: [PATCH] avoid using a value uninitialised ok kevlo@ --- sys/dev/usb/if_mue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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) { -- 2.20.1