mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Eliminate some warnings from building testing.
This commit is contained in:
@@ -290,6 +290,7 @@ static int stm32_mrf24j40_devsetup(FAR struct stm32_priv_s *priv)
|
||||
}
|
||||
#endif
|
||||
|
||||
UNUSED(ret);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -375,7 +375,7 @@ int losetup(FAR const char *devname, FAR const char *filename,
|
||||
FAR struct loop_struct_s *dev;
|
||||
struct stat sb;
|
||||
int ret;
|
||||
int fd;
|
||||
int fd = -1;
|
||||
|
||||
/* Sanity check */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user