Module Name:    src
Committed By:   mlelstv
Date:           Mon Jun 14 15:35:34 UTC 2021

Modified Files:
        src/sys/dev/usb: usbdi.c

Log Message:
appease gcc9


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/sys/dev/usb/usbdi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbdi.c
diff -u src/sys/dev/usb/usbdi.c:1.216 src/sys/dev/usb/usbdi.c:1.217
--- src/sys/dev/usb/usbdi.c:1.216	Sun Jun 13 00:13:24 2021
+++ src/sys/dev/usb/usbdi.c	Mon Jun 14 15:35:34 2021
@@ -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_interfac
 		    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;

Reply via email to