summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2021-06-14 15:35:34 +0000
committermlelstv <mlelstv@NetBSD.org>2021-06-14 15:35:34 +0000
commiteac6f458a4e0e6c66846f8d62db18f1c52216bb0 (patch)
tree53219bcd274011520418079b8d68e53998543889 /sys/dev
parent534c2b4d87dfbda52acdbd9dbfdbd217d0f638b0 (diff)
appease gcc9
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usbdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index 02956a2c693..2d90b070b24 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.216 2021/06/13 00:13:24 riastradh Exp $ */
+/* $NetBSD: usbdi.c,v 1.217 2021/06/14 15:35:34 mlelstv Exp $ */
/*
* Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.216 2021/06/13 00:13:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.217 2021/06/14 15:35:34 mlelstv Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -224,7 +224,7 @@ usbd_open_pipe_ival(struct usbd_interface *iface, uint8_t address,
uint8_t flags, struct usbd_pipe **pipe, int ival)
{
struct usbd_pipe *p;
- struct usbd_endpoint *ep;
+ struct usbd_endpoint *ep = NULL /* XXXGCC */;
bool piperef = false;
usbd_status err;
int i;