mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
pci_drivers.c: initialize ret to avoid compiler warnings
initialize ret to avoid compiler warnings in pci_drivers.c Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
1d586c3bee
commit
393ed71d81
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
|
||||
int pci_register_drivers(void)
|
||||
{
|
||||
int ret;
|
||||
int ret = OK;
|
||||
|
||||
#ifdef CONFIG_PCI_IVSHMEM
|
||||
ret = pci_ivshmem_register();
|
||||
|
|
Loading…
Reference in a new issue