From: jsg Date: Sat, 4 Aug 2018 16:42:46 +0000 (+0000) Subject: avoid using a value uninitialised X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e64b3f5d751f0fdb030c1925cccda30a2ee8ef01;p=openbsd avoid using a value uninitialised ok kevlo@ --- 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) {