Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 79d5eedd authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: pcan_usb: pcan_usb_fd_send_cmd(): silence compiler warning about uninitialized var



This patch silences the compiler warning:

drivers/net/can/usb/peak_usb/pcan_usb_fd.c: In function 'pcan_usb_fd_send_cmd':
drivers/net/can/usb/peak_usb/pcan_usb_fd.c:185:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]

by initialising the variable as 0.

Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent a5581ef4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment