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/34bcdf9abefc
branches: trunk
changeset: 983936:34bcdf9abefc
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 e5915fb9677c -r 34bcdf9abefc 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 @@
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