Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb appease gcc9
details: https://anonhg.NetBSD.org/src/rev/5d6d904e87c7
branches: trunk
changeset: 379686:5d6d904e87c7
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Jun 14 15:35:34 2021 +0000
description:
appease gcc9
diffstat:
sys/dev/usb/usbdi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0bf0d86150df -r 5d6d904e87c7 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c Mon Jun 14 13:52:11 2021 +0000
+++ b/sys/dev/usb/usbdi.c Mon Jun 14 15:35:34 2021 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index